A modern FastAPI backend application.
- Create virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate- Install dependencies:
pip install -r requirements.txt- Run the application:
python main.pyThe API will be available at:
- http://localhost:8000 - API root
- http://localhost:8000/docs - Interactive API documentation
- http://localhost:8000/health - Health check endpoint
The application uses:
- FastAPI - Modern Python web framework
- Pydantic - Data validation and settings
- Uvicorn - ASGI server
backend/
├── src/
│ ├── core/
│ │ ├── __init__.py
│ │ └── config.py # Application configuration
│ ├── __init__.py
│ └── main.py # FastAPI application
├── main.py # Entry point
├── requirements.txt # Dependencies
└── README.md
Once the server is running, visit:
- Swagger UI: http://localhost:8000/docs
- ReDoc: http://localhost:8000/redoc