Prerequisites
- Python 3.11+
- Git
curlor any HTTP client (Postman, HTTPie, etc.)
Local setup
Configure environment variables
.env and set at minimum:.env
For local development you don’t need to configure Azure SQL. When the
AZURE_SQL_* variables are absent, the API automatically falls back to a local SQLite database.Initialize the database
admin and user).Start the API
http://localhost:5000. The interactive Swagger UI is available at http://localhost:5000/api/docs.Login and get tokens
access_token — you’ll use it in the Authorization header for all subsequent requests.Docker alternative
If you prefer Docker, you can skip the Python setup entirely:http://localhost:5000 once the container starts. See the Docker guide for details.
Next steps
Authentication
Learn about JWT tokens, refresh flow, and RBAC roles.
API Reference
Full documentation for all 26 endpoints.
Configuration
Configure the API for different environments.
Deployment
Deploy to Azure App Service with CI/CD.