Async-FastAPI-MultiDB
Async-FastAPI-MultiDB is a modern, fully asynchronous backend template built with FastAPI, designed for scalability and developer productivity.
Key Features:
- Asynchronous Architecture: Fully utilizes async/await to maximize performance and efficiency.
- Dual Database Support: Integrates both MongoDB and PostgreSQL for versatile data storage solutions.
- Robust Authentication & Authorization: Utilizes JWT, Redis, and RSA for secure token management and RBAC permissions.
- Celery Integration: Enhanced support for Celery, including native async task support and dynamic database scheduling.
- Object Storage: Incorporates MinIO for S3-compatible object storage, enhancing file management capabilities.
- Modular Project Structure: Encourages clean code organization with a focus on separation of concerns.
- Environment-based Configuration: Simplifies deployment setup for different environments.
Benefits:
- Scalability: Built for load handling and growth, suitable for production applications.
- Developer Productivity: Streamlined workflows with pre-commit hooks and automated API documentation.
- Security: Emphasis on secure communication and data integrity.
- Flexibility: Easily extensible architecture allowing for future enhancements and integrations.
Highlights:
- Dynamic database-based task scheduling.
- Configurable permission systems without manual definitions for each endpoint.
- High-performance and efficient permission validation.
This template serves as an essential foundation for developers looking to build scalable and maintainable applications using modern backend technologies.