Skip to content

Forceres/todo-list-nestjs

Repository files navigation

NestJS TODO List Application - University Project

Running the app without Docker (needed to be configured via changing POSTGRES_HOST to localhost)

# local mode
$ npm run app:start:local

# development
$ npm run app:start

# production mode
$ npm run app:start:prod

Running the app via Docker

$ docker-compose up --build
  • postgres:15.2-alpine
  • node:18-alpine

Modules

  1. Users
  2. Roles
  3. Lists
  4. Tasks
  5. Auth

Features

  1. Custom Validation via ValidationPipe and class-validators (third-party package)
  2. Database - PostgreSQL via Sequelize ORM
  3. JWT Authorization
  4. Frontend - Bootstrap 5
  5. EsLint
  6. Prettier
  7. Custom Logger and Middleware (using third-party packages: winston and morgan)
  8. RoleGuard for accessing some private end-points
  9. Full Swagger Documentation
  10. Text Logs
  11. Migrations and Seeders via Sequelize

E2E Tests included for all roles:

# e2e tests
$ npm run test:user
$ npm run test:moderator
$ npm run test:admin

# test coverage
$ npm run test:cov

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Support us

Description

Nest framework TypeScript starter repository.

Installation

$ npm install

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

Stay in touch

License

Nest is MIT licensed.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published