Skip to content
Sellzy

Running the apps

Start the API, storefront, admin and mobile app, together or one at a time.

Everything at once

pnpm dev
App Address
Storefront http://localhost:3000
Admin panel http://localhost:5173
API http://localhost:8000
API docs (Swagger) http://localhost:8000/api/docs

One app at a time

pnpm dev:api       # API only
pnpm dev:web       # storefront only (needs the API)
pnpm dev:admin     # admin only (needs the API)
pnpm dev:mobile    # Expo dev server for the mobile app

Production build on your computer

pnpm build                              # build every app
pnpm --filter @sellzy/api start         # run the built API
pnpm --filter @sellzy/web start         # run the built storefront

Ports

Change the API port with PORT in apps/api/.env, then update every address that points at it (NEXT_PUBLIC_API_URL, VITE_NEXT_PUBLIC_API_URL). If a port is busy, see Troubleshooting.

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