Template for creating a FastAPI API, includes:
- OAuth2 with password and Bearer JWT Tokens (registration, login, token refresh)
- User activation with email
- Secure password hashing with bcrypt
- User authorization with role-based access control
- MongoDB database integration with async support
- Environment-based configuration
- Request/Response and error logging
- Pydantic models for data validation
- Dockerized setup
Docker Compose
docker compose build
docker compose upThere are several ways to contribute to this project:
- Create issues to report bugs or suggest new features
- Submit pull requests with code improvements or new features
- Share feedback and suggestions
Please make sure to:
- Check existing issues before creating new ones
- Follow the code style guidelines
Your contributions are greatly appreciated!