Simple FastAPI template to bootstrap a new project quickly (Python > 3.10)
This project uses :
- FastAPI as web framework
- Alembic for database migrations
- SQLAlchemy as ORM
- PostgreSQL as database
- Pydantic for data validation
- Docker for containerization
- Black / Flake8 / Isort for code formatting
- Mailjet for sending emails
- Sentry for error tracking (Optional)
- Redis to blacklist JWT tokens (Optional)
- JWT authentication
- Blacklist JWT tokens
- Database migrations
- Docker containerization
- RBAC (Role-Based Access Control)
- Role/Permission based on FastAPI Scopes (see here)
- Async FastAPI/SQLAlchemy
- Can send emails with Mailjet API
- Sentry integration for error tracking (Optional)
- Redis integration for JWT token blacklist (Optional : use dict instead)
- Tests


