This is a preview of FastSaas.
This repository shows the architecture, file structure and main features of the template. Start your SaaS today and get the full version at www.fast-saas.com.
Get your FastSaaS development environment running in minutes!
For new developers, just run:
make setupThis single command will:
- β Check all prerequisites are installed
- π Set up environment files from templates
- π¦ Install Python and Node.js dependencies
- π Start the development environment
- π Show you all the URLs to access your app
Make sure you have these installed:
- Docker & Docker Compose - For containerized development
- uv - Python package manager (install guide)
- Node.js - For the React frontend
For a complete setup with secure secrets:
make setup-fullThis includes everything from make setup plus:
- π Generates secure secrets for your
.envfile - ποΈ Runs database migrations
Once setup is complete, access your app at:
| Service | URL | Description |
|---|---|---|
| Frontend | http://localhost:5173 | React development server |
| Backend API | http://localhost:8000 | FastAPI backend |
| API Docs | http://localhost:8000/docs | Interactive API documentation |
| Database UI | http://localhost:8080 | Adminer database interface |
After running make setup:
-
Configure Services (Optional):
# Generate secure secrets for production make setup-secrets # Copy the generated values to your .env file # Update Stripe keys and email settings
-
Start Development:
# Start development environment make dev # View logs from all services make logs # Run tests make tests # Format code make format
-
Database Operations:
# Run migrations make migrate # Create new migration make migrate-create msg="add new feature" # Connect to database make db-shell
-
Test the application:
Login using the credentials defined in your FIRST_SUPERUSER and FIRST_SUPERUSER_PASSWORD environment variables
# Start development environment
make dev
# Stop development environment
make dev-down
# Restart everything
make dev-restart
# View help for all available commands
make help
# Clean up containers and caches
make cleanCommand not found?
- Make sure
makeis installed on your system - On macOS:
brew install makeor use Xcode Command Line Tools
Docker issues?
- Ensure Docker is running:
docker --version - Check Docker Compose:
docker compose version
Python/Node issues?
- Install uv:
curl -LsSf https://astral.sh/uv/install.sh | sh - Install Node.js: https://nodejs.org/
Need help?
- Run
make helpto see all available commands - Contact us at admin@fast-saas.com, we'll be happy to assist!
fastapi-saas/
βββ app/ # Python backend (FastAPI)
βββ frontend/ # React frontend
βββ scripts/ # Development scripts
βββ .env.example # Environment template
βββ Makefile # Development commands
βββ docker-compose.yml # Container configuration
That's it! π
Your FastSaaS development environment should now be running. Visit http://localhost:5173 to see your application!