Overview
FastAPI REST API boilerplate serves as an excellent foundation for developing robust web applications. It is designed for developers seeking a structured and efficient starting point that includes essential configurations and features, ensuring a streamlined development experience. The boilerplate not only facilitates quick setup but also offers comprehensive tools for building scalable applications.
Features
- Database (Sqlalchemy): Seamlessly integrates SQLAlchemy for database interactions, allowing for easy management of your application's data.
- Database Migration (Alembic): Use Alembic for smooth database migrations, ensuring your schema remains up to date without hassle.
- Swagger & Redoc: Automatically generate and maintain API documentation using Swagger and Redoc, making your API easy to understand and use.
- Social Sign-In: Supports sign-in options via major platforms like Apple, Facebook, Google, LinkedIn, and Microsoft for easier user access.
- File Uploads: Allows file uploads with support for AWS S3, Cloudinary, Google Cloud Storage, and MinIO, giving flexibility in storing user-generated content.
- Monitoring with Grafana & Prometheus: Comprehensive monitoring capabilities to track application performance and health in real-time.
- RBAC with Casbin: Implement robust role-based access control to manage user permissions effectively within your application.
- Email and Logging: Features mailing capabilities along with extensive logging (login logs, operation logs, app logs) to enhance debugging and application insights.