Skip to main content

Prerequisites

MUZE is a pnpm workspace monorepo with backend/ and frontend/ packages. The full directory layout is in Repository structure.

Quick start

1. Clone and install

2. Environment setup

Copy the example environment files:
Configure the backend .env with your database URL and auth secrets. See Environment variables for the full reference.

3. Database setup

The seed script provisions roles, a super admin (configured via SEED_ADMIN_EMAIL and SEED_ADMIN_PASSWORD in backend/.env), regions, stores, categories, products, and entitlement rule sets.

4. Start the dev servers

Verify the backend with GET http://localhost:3001/api/v1/health.

Development scripts

Backend (backend/)

Frontend (frontend/)

IDE setup

Recommended VS Code extensions: ESLint, Prettier, Prisma, Tailwind CSS IntelliSense. Both packages have their own tsconfig.json. The backend runs TypeScript in strict mode; the frontend uses Vite’s built-in TypeScript handling.