Skip to content
This repository was archived by the owner on May 12, 2026. It is now read-only.

Repository files navigation

SkillBridge Backend

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.

Runtime

  • Node.js 20+
  • pnpm 9+
  • PostgreSQL

Setup

pnpm install
cp .env.example .env
pnpm migration:run
pnpm start:dev

The API runs under api/v1, with health and probe endpoints excluded from the prefix.

Routes

  • GET /health
  • GET /probe
  • GET /api/docs
  • POST /api/v1/auth/register
  • POST /api/v1/auth/login
  • POST /api/v1/auth/refresh
  • POST /api/v1/auth/logout
  • GET /api/v1/auth/me
  • GET /api/v1/users admin-only

Scripts

pnpm build
pnpm lint
pnpm test
pnpm test:e2e
pnpm migration:run
pnpm seed

Docker

docker compose -f compose/docker-compose.yml up --build

About

No description, website, or topics provided.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages