flask-rest-api

REST API boilerplate using Flask, SQLAlchemy, Docker and Pydantic

pythonapiflaskboilerplaterest-apirestfulpython3flask-applicationswagger-uirestful-apiflask-apiflask-boilerplate
FreeRepo

Preview

flask-rest-api preview

Overview

This Flask boilerplate provides a production-ready foundation for building REST APIs with built-in support for authentication, database management and async tasks. It uses Flask with SQLAlchemy, PostgreSQL, Pydantic validation, Celery for task queuing and Docker for containerization, designed to reduce repetitive code through reusable base classes and decorators while staying on current Flask versions.

Features

jwt-authenticationoauth-githuboauth-facebookemail-verificationpassword-recoveryrole-based-access-controlswagger-ui-documentationpydantic-validationasync-task-queuecelery-integrationrabbitmq-message-brokergunicorn-wsgi-servernginx-reverse-proxydatabase-migrationsseed-datacode-coverageenvironment-configs

Feature Flags

userDashboardauthenticationblogemailsauthorizationjobsQueueapiDocsmapsformsValidation

Recommended Use Cases

rest-api-developmentmicroservicesbackend-servicesscalable-api-applications

Frontend

None

Backend

flasksqlalchemypydanticcelerygunicorn

Auth Providers

jwtgithub-oauthfacebook-oauth

Deployment Targets

dockerdocker-compose

Payment Providers

None

Quick Facts

โญ Stars
73
๐Ÿด Forks
17
๐Ÿ”„ Active
Unknown
๐Ÿ•’ Last Commit
2020-07-06T14:05:31Z

Stack

Framework
flask
Language
python
Database
postgresql
ORM
sqlalchemy
Testing
pytest

Data Layer

Databases
postgresql
ORM
sqlalchemy

UI Stack

Developer Experience

Docker
Yes
Tests
Yes
Quickstart
Yes
env.example
Yes

Pricing

Classification
free
Selected
โ€”
Notes
Open source boilerplate template
Get Started with this Boilerplate