StudyStudio
Local Environment

Getting Started

Prerequisites and installation for local development

Prerequisites

  • Node.js v22.14.0 or later
  • pnpm (recommended) - npm install -g pnpm
  • A Convex account (free tier works)
  • A Google Gemini API key (get one here)
  • (Optional) Stripe, PayPal, Razorpay, or Flutterwave accounts for payment testing

Clone & Install

git clone <your-repo-url> studystudio
cd studystudio
pnpm install

StudyStudio uses pnpm only. Never use npm or yarn in this project.

Copy the Env File

Copy the example environment file to .env.local:

cp .env.example .env.local

We will fill in the values in the next steps.

Start Convex Dev

Convex runs a local development server that also manages your cloud deployment:

npx convex dev

Keep this terminal running. It will print a NEXT_PUBLIC_CONVEX_URL that we add to .env.local in the Convex Database step.

On this page