This guide walks you through getting Shipfastai running on your machine for the first time. By the end, you will have the full stack running locally — FastAPI backend on port 8000, Next.js frontend on port 3000, PostgreSQL via Supabase, and Redis — all orchestrated by Docker Compose.Documentation Index
Fetch the complete documentation index at: https://docs.shipfastai.dev/llms.txt
Use this file to discover all available pages before exploring further.
Download your product
After purchasing a license from shipfastai.dev, log into your Dashboard to download your product:
- Go to Dashboard → Your Products
- Find your purchased tier (Basic, Pro, or Enterprise)
- Click Download ZIP — the file is password-protected with your license key
- Extract the ZIP using your license key as the password
Configure your environment
Copy the example environment file and fill in your credentials:Open
The Supabase variables in
.env and set the following required variables before starting the app:| Variable | Description |
|---|---|
NEXT_PUBLIC_SUPABASE_URL | Your Supabase project URL |
NEXT_PUBLIC_SUPABASE_ANON_KEY | Your Supabase anonymous/public key |
SUPABASE_SERVICE_ROLE_KEY | Your Supabase service role key (keep secret!) |
STRIPE_SECRET_KEY | Your Stripe secret key (sk_test_... for development) |
STRIPE_WEBHOOK_SECRET | Your Stripe webhook signing secret (whsec_...) |
STRIPE_BASIC_PRICE_ID | Stripe price ID for Basic tier |
STRIPE_PRO_PRICE_ID | Stripe price ID for Pro tier |
STRIPE_ENTERPRISE_PRICE_ID | Stripe price ID for Enterprise tier |
BREVO_API_KEY | API key from Brevo for marketing emails |
NEXT_PUBLIC_APP_URL | Your app URL (e.g., http://localhost:3000) |
.env.example connect to your Supabase project. Create a free project at supabase.com if you haven’t already.Start with Docker
Start the full stack in the background with a single command:Docker Compose starts the services: the FastAPI backend, the Next.js frontend, and Redis. On first run it will build the images, which takes a few minutes. Subsequent starts are fast.To watch the logs:To stop all services:
Access the app
Once all containers are running, open the following URLs in your browser:
The interactive API docs at
| Service | URL |
|---|---|
| Frontend | http://localhost:3000 |
| Backend API | http://localhost:8000 |
| Interactive API docs | http://localhost:8000/docs |
| Alternative API docs (ReDoc) | http://localhost:8000/redoc |
/docs are generated automatically by FastAPI from your route definitions. Use them to test endpoints directly from the browser without any additional tooling.The variables above cover the minimum required to start the app. For a full reference of every environment variable — including optional settings for Redis, email configuration, and deployment settings — see the Configuration section.