Launch in 5 minutes 🚀

Follow this tutorial to get your startup live in record time.

1. Database (MongoDB)

You need a MongoDB database.

  1. Create a free account on MongoDB Atlas.
  2. Create a new cluster (free tier is fine).
  3. Get your connection string (e.g. mongodb+srv://...).
  4. Add it to your .env file:
    MONGODB_URI="your-connection-string"
    

2. Authentication (Google SSO)

To enable login:

  1. Go to Google Cloud Console and create a project.
  2. Create OAuth credentials and get Client ID and Client Secret.
  3. Add them to .env:
    GOOGLE_CLIENT_ID="..."
    GOOGLE_CLIENT_SECRET="..."
    
  4. Set BETTER_AUTH_SECRET and BETTER_AUTH_URL in .env:
    BETTER_AUTH_SECRET="your-secret"
    BETTER_AUTH_URL="http://localhost:5173"
    

3. Payments (Polar.sh)

  1. Sign up for Polar.sh.
  2. Create an organization and get your Access Token.
  3. Add it to .env:
    POLAR_ACCESS_TOKEN="..."
    

4. Deploy to Vercel

  1. Push your code to GitHub.
  2. Import your project on Vercel.
  3. Add your Environment Variables in Vercel settings.
  4. Click Deploy.

Voila! Your startup is live. 🌍