Production-oriented Aqarmap-like marketplace scaffolded as a Turborepo monorepo.
apps/
web/ Next.js user marketplace (existing app)
admin/ Next.js admin dashboard (placeholder)
api/ NestJS backend (placeholder)
packages/
ui/ Shared UI components
types/ Shared TypeScript types
config/ Shared TS / ESLint / Prettier configs
utils/ Shared utilities
Install dependencies from the repository root:
npm installnpm run dev:web
# or
npm run dev --workspace=@repo/webOpen http://localhost:3000.
npm run dev:adminOpen http://localhost:3001.
npm run dev:apiHealth check: http://localhost:4000/health.
npm run dev| Script | Description |
|---|---|
npm run dev:web |
Start the user website (port 3000) |
npm run dev:admin |
Start admin placeholder (port 3001) |
npm run dev:api |
Start NestJS placeholder (port 4000) |
npm run build |
Build all workspaces |
npm run lint |
Lint all workspaces |
npm run typecheck |
Typecheck all workspaces |
npm run format |
Format with Prettier |
npm run turbo:build |
Same as build, via Turbo (when Turbo binary works) |
turbo.json and the turbo dependency are installed. On some Windows setups the Turbo binary fails with spawn EPERM (often antivirus). Day-to-day scripts use npm workspaces; use npm run turbo:* once Turbo is allowed to run.
- Shared configs live in
packages/config. - Workspace packages use the
@repo/*scope. - Run
npm installonly from the monorepo root. - If install fails with certificate errors, this repo includes
.npmrcwithstrict-ssl=falsefor local TLS interception environments.