Local Development
Running services
Start all apps and packages in development mode:
This starts:
- Web on
http://localhost:3000with hot reload - API on
http://localhost:4000with watch mode
Database
Local PostgreSQL
Seed data
This populates the database with test users, products, and orders.
Debugging
API logs
The API outputs structured JSON logs. Use jq for readability:
Database queries
Enable query logging by setting DB_LOG=true in your .env file.