This project is a template for building a FastAPI application with the following features:
- Example management: CRUD operations for user data.
- PostgreSQL: A relational database for persistent storage.
- Redis: Optional caching and broker integration.
- MongoDB: Optional NoSQL database support.
- Alembic: Database migrations for PostgreSQL.
- Pydantic: For data validation with user input and API responses.
Make sure you have the following prerequisites:
- Python >= 3.12.3
- PostgreSQL >= 15.10 (for relational data storage)
- Redis (optional, for caching)
- MongoDB (optional, for NoSQL data storage)
- FastAPI: https://fastapi.tiangolo.com/
- Pydantic: https://docs.pydantic.dev/latest/
- Alembic: https://alembic.sqlalchemy.org/en/latest/