Prerequisites
- Node.js 18+ (latest LTS recommended)
- npm (or another compatible package manager)
- A Convex project and deployment
- WorkOS app credentials (client ID + API key)
- (Optional) Rust + Tauri v2 toolchain for desktop builds
Environment
Create a.env.local in the project root and add at minimum:
bash
Install & Run (Web)
- Install dependencies
- Run development servers (Next.js + Convex)
next dev(Next.js app)npx convex dev(local Convex dev server)
- Open the app
- App: http://localhost:3000
- Convex dev output is visible in the terminal running
npx convex dev
Build & Deploy (Web)
- Build (deploy Convex then build Next.js):
- Start production server:
Need help? Please feel free to message me at contact@freddiephilpot.dev