Getting Started¶
Prerequisites¶
| Tool | Version | Purpose |
|---|---|---|
| Node.js | 18+ | Runtime |
| npm | 9+ | Package manager |
| Supabase Project | Active | Backend |
Setup¶
1. Clone and install¶
2. Configure environment¶
Required variables in .env:
3. Push Prisma schema¶
4. Run the app¶
5. Login¶
Use admin credentials (email/password) configured in Supabase Auth. The app validates the admin role on login.
Scripts¶
| Script | Command |
|---|---|
npm run dev |
Development server |
npm run build |
Production build |
npm run preview |
Preview production build |
npm run lint |
ESLint check |
npm test |
Vitest |
npm run db:push |
Push Prisma schema |
npm run db:studio |
Open Prisma Studio |
Related¶
- Architecture — App structure
- Seller Web: Getting Started — Seller app setup