Enterprise dashboard REST API built with NestJS, TypeORM, PostgreSQL and JWT authentication.
Backend API for the Enterprise Dashboard admin panel. Built with NestJS, TypeORM and PostgreSQL. Features JWT authentication with Passport, Swagger API documentation, CSV export and Docker support.
- JWT Authentication — Passport + JWT + bcrypt password hashing
- TypeORM + PostgreSQL — database management with migrations
- Swagger — auto-generated API documentation
- CSV Export — data export via
csv-writer - Docker — Dockerfile and docker-compose for easy deployment
- Validation — request validation via
class-validatorandclass-transformer - Unit + E2E tests — Jest and Supertest
| Technology | Purpose |
|---|---|
| NestJS | Backend framework |
| TypeScript | Type safety |
| TypeORM | Database ORM |
| PostgreSQL | Database |
| Passport + JWT | Authentication |
| Swagger | API documentation |
| Docker | Containerization |
| Jest + Supertest | Testing |
| ESLint / Prettier | Code quality |
# Install dependencies
npm install
# Start in development mode
npm run start:dev
# Start in production mode
npm run start:prod
# Build
npm run builddocker-compose up# Unit tests
npm run test
# E2E tests
npm run test:e2e
# Coverage
npm run test:covDeveloped by Ihor Yanchuk and vhuser