- Git
- MySQL Server CE
- Node.js
- Copy .env.example to .env and fill database details
- Run
npm install -g nx prisma @nestjs/clito globally install useful CLI's. - Run
npm install. It should also setup husky git hooks. - Run
husky setupto setup git hooks. - Run
npx prisma migrate dev --name initto initialize schema on the database - Optional: Run
npx prisma db seedon local environment to seed database with random data.
- Run
nx serve api.
- Run
npm test. It will run both Unit and E2E test (Note: Web server should be running before starting E2E tests)