Skip to content
Sellzy

Folder structure

Where everything lives in the monorepo.

sellzy/
├─ apps/
│  ├─ api/                 Express 5 + TypeScript REST API
│  │  ├─ config/           Database, Swagger, upload providers
│  │  ├─ controllers/      Request handlers
│  │  ├─ models/           Mongoose models
│  │  ├─ routes/           One file per resource (products, orders, vendors…)
│  │  ├─ middleware/       Auth, roles, validation, rate limits
│  │  ├─ services/ utils/  Payments, email, uploads, helpers
│  │  ├─ data/seed/        Demo data (JSON) loaded by pnpm seed
│  │  ├─ scripts/          importSeed.ts (pnpm seed) and other tools
│  │  └─ server.ts         App entry: security, CORS, routes
│  ├─ web/                 Next.js 16 storefront
│  │  ├─ messages/         Translations (en, de, fr, it, en-SG)
│  │  ├─ src/app/          App Router pages ([locale]/…)
│  │  ├─ src/components/   UI components
│  │  └─ next.config.ts    Image hosts and Next.js settings
│  ├─ admin/               React 19 + Vite admin and seller panel
│  │  └─ src/pages/        dashboard/ (admin), vendor/ (seller panel), auth/
│  └─ mobile/              Expo SDK 58 app
│     ├─ app.json          App name, bundle ID, icons, splash
│     └─ src/app/          Expo Router screens
├─ packages/               Shared ESLint, TypeScript and UI config
├─ static_app/
│  ├─ web/                 Storefront showcase on sample data
│  ├─ admin/               Admin showcase on sample data
│  └─ docs/                This documentation site (Astro)
├─ scripts/                setup-env.mjs, doctor.mjs (pnpm check:setup)
├─ docs/                   setup-guide.html, FEATURES.md, TECHNOLOGY.md
├─ docker-compose.yml      Local MongoDB
├─ turbo.json              Turborepo pipeline
└─ package.json            Root scripts

Root commands

Command What it does
pnpm dev API, storefront and admin together
pnpm dev:api · dev:web · dev:admin · dev:mobile One app
pnpm build Production build of every app
pnpm check-types · pnpm lint Type-check / lint every app
pnpm clean Remove build caches

Stuck? Run pnpm check:setup, check Troubleshooting, or contact support.