Monorepo bootstrap for the MVP.
apps/frontend— web UI foundationapps/backend— API foundationapps/electron— desktop shell foundation
npm run lint— lint all workspacesnpm run test— run tests in all workspacesnpm run build— build all workspaces
- Install dependencies:
npm install - Start backend + frontend together:
npm run dev - Frontend URL:
http://localhost:5173 - Backend URL:
http://localhost:4000
- Backend only:
npm run dev:backend - Frontend only:
npm run dev:frontend
- Backend loads
.envand then.env.{APP_ENV}(developmentby default). - Prisma uses the same strategy through
apps/backend/prisma.config.ts. - Use these example files as templates:
apps/backend/.env.exampleapps/backend/.env.development.exampleapps/backend/.env.staging.exampleapps/backend/.env.production.exampleapps/frontend/.env.exampleapps/electron/.env.example
- Set
APP_ENVto one of:development,staging,production.