# Backend - Queueing Network Simulation Python FastAPI backend for simulating distributed database queueing networks. ## Setup 1. Create a virtual environment: ```bash python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate ``` 2. Install dependencies: ```bash pip install -r requirements.txt ``` ## Running Development mode: ```bash python src/main.py # or uvicorn src.main:app --reload ``` The API will be available at `http://localhost:8000` API documentation: `http://localhost:8000/docs` ## Testing ```bash pytest tests/ ``` ## Structure - `src/core/` - Core simulation engine (event-driven discrete simulation) - `src/analytics/` - Analytical computations (Jackson's theorem) - `src/api/` - FastAPI route handlers - `src/models/` - Pydantic data models - `tests/` - Unit and integration tests