ORIGIN=http://localhost:5173
DATABASE_URL=postgres://
OPENROUTER_API_KEY=sk-or-v1-
CONVEX_DEPLOYMENT=dev:
PUBLIC_CONVEX_URL=https://project-id.convex.cloud
GOOGLE_OAUTH_CLIENT_ID=.apps.googleusercontent.com
GOOGLE_OAUTH_CLIENT_SECRET=GOCSPX-
PUBLIC_STRIPE_KEY=pk_test_
PRIVATE_STRIPE_KEY=sk_test_
PRIVATE_STRIPE_WEBHOOK_SECRET=whsec_
PUBLIC_STRIPE_PRICE_ID=price_
- Set the environment variables to the configuration for your services.
- Install dependancies.
npm install
- Initialize postgres database.
npm run generate && npm run migrate
- Initialize convex document schema.
npx convex dev
- Build it
npm run build.
- Run the build.
node build