fast-backend

Quickly have a running production-grade FastAPI backend

dockerboilerplatejwtoauth2backenddocker-composepostgresqlfastapi
FreeRepo

Preview

fast-backend preview

Overview

This is a production-ready FastAPI backend boilerplate built with Python 3.13, PostgreSQL, SQLAlchemy and Alembic for database migrations. It includes JWT and OAuth 2.0 authentication, asynchronous database support, Docker setup for local development and a complete CI/CD pipeline example using GitHub Actions and Google Cloud Platform for automated testing, building and deployment to Cloud Run.

Features

jwt-authenticationoauth2-integrationgoogle-oauthapple-oauthdatabase-migrationsasynchronous-supporthttp-only-cookiesrefresh-tokensaccess-tokensopenapi-documentationdocker-composealembic-migrations

Feature Flags

userDashboardauthenticationsubscriptionsemailsauthorizationnotificationsapiDocs

Recommended Use Cases

production-grade-backendrest-apiauthenticated-servicesmicroservices

Frontend

None

Backend

fastapipythonasyncpg

Auth Providers

jwtgoogle-oauth2apple-oauth2

Deployment Targets

dockergcpgcp-cloud-run

Payment Providers

None

Quick Facts

โญ Stars
0
๐Ÿด Forks
0
๐Ÿ”„ Active
Yes
๐Ÿ•’ Last Commit
2025-10-09T09:05:38.000Z

Stack

Framework
fastapi
Language
python
Database
postgresql
Auth
jwt, oauth2
ORM
sqlalchemy
CI
github-actions

Data Layer

Databases
postgresql
ORM
sqlalchemy

UI Stack

Developer Experience

Docker
Yes
Tests
No
Quickstart
Yes
env.example
Yes
CI
github-actions

Pricing

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