Expo + FastAPI + Postgres boilerplate
React Native (Expo) app with an async FastAPI backend and Postgres. One click generates a complete, runnable bootstrap — docker-compose, Makefile, Dockerfile, CI and more.
The stack
Python 3.12
PostgreSQL 5432
docker-compose.yml preview
# docker-compose.yml — generated by Stacktora
services:
api:
image: python:3.12-slim
command: uvicorn app.main:app --reload --host 0.0.0.0
ports:
- "8000:8000"
env_file: [ .env ]
postgres:
image: postgres:18-alpine
ports:
- "5432:5432"
What you get
docker-compose.ymlMakefileDockerfileREADME.md.env.example.gitignore.dockerignore.github/workflows/ci.yml.tool-versions.editorconfigProcfile … and more
Quickstart
# clone, then one command to a running stack git clone … && cd api $ make setup # install toolchain + deps, build images $ make dev # boot the full stack # → api live at localhost:8000
Related templates
Expo + Node API + Postgres
React Native (Expo) mobile app with a Node API and Postgres — the app runs on your host, the backend in Docker.
Node.jspostgres
Flutter + Go API + Postgres
Flutter mobile app with a compiled Go API and Postgres — client on your host, backend in Docker.
Gopostgres
React Native + Spring + Postgres
React Native (CLI) app with a Spring Boot API and Postgres.
Java (Spring)postgres
React Native + Express + Redis
React Native (CLI) app with a Node/Express API, Postgres and a Redis cache.
Node.jspostgresredis
