https://github.com/hngprojects/skillbridge-be
https://github.com/hngprojects/skillbridge-be
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/hngprojects/skillbridge-be
- Owner: hngprojects
- Created: 2026-05-02T22:41:18.000Z (about 2 months ago)
- Default Branch: dev
- Last Pushed: 2026-05-11T22:47:30.000Z (about 1 month ago)
- Last Synced: 2026-05-11T23:30:44.640Z (about 1 month ago)
- Language: TypeScript
- Size: 509 KB
- Stars: 3
- Watchers: 0
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
```bash
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
```bash
pnpm build
pnpm lint
pnpm test
pnpm test:e2e
pnpm migration:run
pnpm seed
```
## Docker
```bash
docker compose -f compose/docker-compose.yml up --build
```