Ship in 5 minutes
Get your SaaS live in 5 minutes with this quick tutorial. Follow these steps to deploy your app to production.
Step 1: Clone and install
1git clone https://github.com/your-repo/saasinminutes.git my-saas
2cd my-saas
3npm installStep 2: Configure environment variables
Copy the example environment file and fill in your API keys:
1cp .env.example .env.localEdit .env.local and add your keys:
.env.local
1NEXTAUTH_URL=http://localhost:3000
2NEXTAUTH_SECRET=your-secret-key-here
3SUPABASE_URL=your-supabase-url
4SUPABASE_ANON_KEY=your-supabase-anon-key
5LEMONSQUEEZY_API_KEY=your-lemonsqueezy-key
6SENDGRID_API_KEY=your-sendgrid-keyStep 3: Run locally
1npm run devOpen http://localhost:3000 to see your app running!
Step 4: Deploy to Vercel
Deploy your app to Vercel in one command:
1npm install -g vercel
2vercelFollow the prompts and your app will be live in minutes!
🎉 Congratulations!
Your SaaS is now live! Next, check out the User authentication tutorial to add user accounts.