A simple, single-file FastAPI backend with CRUD operations for users and items.
- Complete CRUD operations
- In-memory database
- Auto-generated documentation
- Health check endpoint
- Type hints and validation
pip install fastapi uvicornpython backend.py- Visit
http://localhost:8000/docs
GET /- API informationGET /health- Health checkGET /stats- StatisticsPOST/GET/DELETE /users- User managementPOST/GET/DELETE /items- Item management