bibektimilsina00 /
FastAPI-PgStarterKit
FastAPI + PostgreSQL Starter Kit: A streamlined template for building backends with FastAPI, PostgreSQL, and Docker.
38/100 healthLoading repository data…
AlensAleksandrs / repository
Starter template for FastAPI services with Celery, Redis, and modular file storage. Includes Docker and Kubernetes deployment manifests, async task processing, and a clean structure for scalable backend applications.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
A production-ready backend starter template for building scalable APIs and microservices using FastAPI, Celery, Redis, and Docker. It supports asynchronous task processing, pluggable file storage (local or S3), and includes Kubernetes deployment manifests for cloud-ready deployments.
kubectlClone the repository:
git clone <repository-url>
cd python-api-template
Create and activate a virtual environment:
python3 -m venv venv
source venv/bin/activate # macOS/Linux
# or
.env\Scriptsctivate # Windows
Install dependencies:
pip install -r requirements.txt
Start the API locally:
uvicorn app.main:app --reload
Your API will be available at
http://localhost:8000
Selected from shared topics, language and repository description—not editorial ratings.
bibektimilsina00 /
FastAPI + PostgreSQL Starter Kit: A streamlined template for building backends with FastAPI, PostgreSQL, and Docker.
38/100 healthsodipto /
A batteries-included FastAPI starter template for building scalable, production-ready APIs
59/100 healthMurungaOwen /
To start a Celery worker:
celery -A celery_worker.celery_app worker --loglevel=info
Test endpoint:
GET /add?a=2&b=3 → returns task_id
GET /tasks/<task_id> → returns status & result
Upload a file:
POST /files/upload (form-data: file=@example.pdf)
Retrieve a file:
GET /files/example.pdf
Storage backends:
local → saved in storage/uploads/s3 → saved in configured bucketBuild & run with Docker Compose:
docker-compose up --build
Services included:
api - FastAPI applicationworker - Celery background workerredis - Message broker & result backendBuild and push Docker image:
docker build -t <docker-username>/python-api:latest .
docker push <docker-username>/python-api:latest
Apply manifests:
kubectl apply -f k8s/
This deploys:
Example .env:
PROJECT_NAME=Python API Template
ENVIRONMENT=development
REDIS_URL=redis://redis:6379/0
STORAGE_BACKEND=local
LOCAL_STORAGE_PATH=storage/uploads
# For S3:
# S3_BUCKET_NAME=your-bucket
# S3_ACCESS_KEY=your-access-key
# S3_SECRET_KEY=your-secret
# S3_REGION=eu-central-1
# S3_ENDPOINT_URL=https://s3.amazonaws.com
✔ FastAPI for high-performance APIs
✔ Celery for asynchronous background tasks
✔ Redis as task broker/result backend
✔ File storage (local or S3)
✔ Docker Compose for local development
✔ Kubernetes manifests for deployment
✔ Clean and extensible project structure
This template is available under the GPL-3.0 License.
Developed by Alens Aleksandrs Čerņa
This is a fast api starter template for backend projects that are to use SQL alchemy as ORM, postgresql, rabbit mq.
jaymindesai /
A template repository for Python REST API using Flask server with Postgres database
31/100 healthstefnba /
Starter template for Python and FastAPI with Docker.
41/100 healthJPdev6 /
A modern Python FastAPI starter template with built-in support for testing, linting, type checking, Docker, and CI. Includes Poetry for dependency management, pre-commit hooks for code quality, and GitHub Actions for continuous integration — ready to clone and build APIs, microservices, or full-stack apps.
27/100 health