Production-ready stack templates with TypeScript, SCSS, and modern backends
- Default Stack: FastAPI + React
- Full-stack web application with Python FastAPI backend and React 19 frontend.
Uses
compose.ymlanddev.compose.yml. - Go-Chi Stack: Go + React
- Full-stack web application with Go Chi backend and React 19 frontend.
Uses
compose.go.ymlanddev.compose.go.yml. Backend located inalternate-backends/go-chi/. - iOS Mobile: Expo + React Native
- Mobile application using Expo and React Native.
Located in
mobile/ios-expo/. Connects to any backend via API (no Docker required).
Click the "Use this template" button above, or:
gh repo create my-project --template CarterPerez-dev/fullstack-template
cd my-projectgit clone https://github.com/CarterPerez-dev/fullstack-template.git my-project
cd my-project
rm -rf .git && git initInstall just command runner:
curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to ~/binThen add ~/bin to your PATH if not already.
chmod +x setup.sh
./setup.shOr if you have just:
just setupThis will:
- Copy
.env.example→.envwith generatedSECRET_KEY - Move template files (LICENSE, CONTRIBUTING, etc.) to root
- Install backend dependencies (uv sync)
- Install frontend dependencies (pnpm install)
For FastAPI + React (Default)
- Edit
.envwith your configuration - Start development:
just dev-upordocker compose -f dev.compose.yml up - After creating models:
just migration-local "initial"thenjust migrate-local head
For Go-Chi + React
- Edit
.envwith your configuration - Start development:
docker compose -f dev.compose.go.yml up - Production:
docker compose -f compose.go.yml up
For iOS Expo App
- Navigate to
mobile/ios-expo/ - Follow the iOS-specific README for Expo setup
- Configure API endpoint to connect to your backend
Run just to see all available commands.
Comprehensive guides for understanding and customizing this template:
-
Complete backend architecture including FastAPI setup, security patterns (JWT + Argon2id), database models, repository pattern, services, API endpoints, testing, and production deployment.
-
React 19 + TypeScript architecture with TanStack Query, Zustand state management, complete design system (OKLCH colors), API integration patterns, SCSS utilities, and performance optimizations.
-
Reverse proxy setup, rate limiting, WebSocket proxying, caching strategies, security headers, and performance tuning for both development and production.
-
Multi-stage Dockerfiles, health checks, network segmentation, resource limits, security hardening, and complete containerization guide.
MIT License - see - LICENSE