A production-ready task management REST API built with FastAPI, PostgreSQL, SQLAlchemy 2.0, Alembic, JWT authentication, Docker, and modern backend best practices.
- FastAPI
- PostgreSQL
- SQLAlchemy 2.0
- Alembic
- Pydantic v2
- JWT Authentication
- Docker & Docker Compose
- Pytest
- Ruff
- Uvicorn
- User Authentication & Authorization
- Project & Task Management
- Comments & Attachments
- Role-Based Access Control (RBAC)
- Pagination, Filtering & Search
- Database Migrations
- Background Tasks
- File Uploads
- API Documentation (Swagger/OpenAPI)
- Production-Ready Project Structure
To generate a new database migration:
alembic revision --autogenerate -m "add user_id to tasks"To apply migrations and upgrade the database schema:
alembic upgrade head