NestJS backend starter aligned with the HNG NestJS boilerplate conventions while keeping this service focused on SkillBridge's current auth, users, mail, and health modules.
- Node.js 20+
- pnpm 9+
- PostgreSQL
pnpm install
cp .env.example .env
pnpm migration:run
pnpm start:devThe API runs under api/v1, with health and probe endpoints excluded from the prefix.
GET /healthGET /probeGET /api/docsPOST /api/v1/auth/registerPOST /api/v1/auth/loginPOST /api/v1/auth/refreshPOST /api/v1/auth/logoutGET /api/v1/auth/meGET /api/v1/usersadmin-only
pnpm build
pnpm lint
pnpm test
pnpm test:e2e
pnpm migration:run
pnpm seeddocker compose -f compose/docker-compose.yml up --build