-
Install dependencies:
npm install
-
Seed the development database:
npm run dev:seed
-
Start the backend dev server (Express + SQLite):
npm run dev:server
-
Start the frontend (Vite):
npm run dev
Note: Vite is configured to proxy
/apitohttp://localhost:4000so no CORS setup is required. Seevite.config.ts.
- Owner: fry / password (fry@planetexpress.com)
- Users: bender / password (bender@planetexpress.com), leela / password (leela@planetexpress.com)
- Owner: michael / password (michael@dundermifflin.com)
- Users: dwight / password (dwight@dundermifflin.com)
Tokens are stored in localStorage under token and the client attaches them to the Authorization header.
- React + TypeScript
- Vite
- Tailwind CSS
- flowbite-react
- Permission Management (user & permission UI): See
tasks/USERS_MANAGEMENT.mdfor the complete task definition and acceptance criteria. - Project Settings Page: See
tasks/PROJECT_SETTINGS.mdfor the complete task definition and acceptance criteria.