Overview
Opinionated Serverless Flask is a framework designed specifically for serverless API development with PostgreSQL. It comes with various features and tools that make it easy to develop and deploy Flask applications in a serverless environment.
Features
- Flask Smorest: A library that helps in building RESTful APIs with Flask.
- OpenAPI: Enables the generation and usage of OpenAPI documentation for the API.
- Swagger UI: Provides a user-friendly interface for exploring and interacting with the API documentation.
- Redoc: An alternative UI for displaying API documentation.
- Pytest: A testing framework with support for database subtransactions for improved test isolation.
- Pytest-FactoryBoy: A library for generating sample data for seeding the database and tests.
- Flake8: A tool for linting Python code.
- Mypy: A static type-checking tool for Python.
- Black: A code formatter for Python.
- AWS Lambda integration: Seamless integration with AWS Lambda for deploying serverless applications.
- Serverless AWS: Provides a streamlined way to deploy and manage serverless applications on AWS.
- AWS Aurora Serverless: Optional integration with Aurora Serverless for on-demand PostgreSQL database with a data-api query driver.
- Flask-Migrate: A library for handling database migrations using alembic and Flask CLI.
- Poetry: Dependency management tool for managing project dependencies.
Summary
Opinionated Serverless Flask is a powerful framework for developing serverless Flask applications with PostgreSQL. It provides a wide range of features and tools that facilitate the development, testing, and deployment of serverless APIs. With seamless integration with AWS Lambda and support for AWS Aurora Serverless, this framework offers a robust and efficient solution for serverless API development.