Skip to content

Vergos1/enterprise-dashboard-api

Repository files navigation

Enterprise Dashboard API

Enterprise dashboard REST API built with NestJS, TypeORM, PostgreSQL and JWT authentication.

TypeScript NestJS PostgreSQL Docker

About

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.

Features

  • 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-validator and class-transformer
  • Unit + E2E tests — Jest and Supertest

Tech Stack

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

Getting Started

# Install dependencies
npm install

# Start in development mode
npm run start:dev

# Start in production mode
npm run start:prod

# Build
npm run build

Docker

docker-compose up

Testing

# Unit tests
npm run test

# E2E tests
npm run test:e2e

# Coverage
npm run test:cov

Author

Developed by Ihor Yanchuk and vhuser

Vergos1 · vhuser

About

Enterprise dashboard REST API built with NestJS, TypeORM, PostgreSQL and JWT authentication

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages