Production Environment
Getting Started
Recommended production stack
Recommended Stack
| Service | Purpose | Free Tier |
|---|---|---|
| Vercel | Hosting | Generous |
| Convex | Database + backend | Generous |
| Resend | Transactional Email | 3,000 emails/month |
| Google AI Studio | Gemini API | Generous |
Push Your Code
Push the StudyStudio repository to a private GitHub repository.
Import into Vercel
Import the repository into Vercel. Vercel auto-detects Next.js. Set the Root Directory to the project root and keep the default build command (pnpm build).
Set Environment Variables
Add all production environment variables in the Vercel dashboard (and in your Convex deployment). The full list is on the next page.
Deploy
Vercel builds and deploys automatically on every push to the default branch. Convex functions deploy with npx convex deploy.