Skip to content

MarcusSilva3298/NestJS-ZeroToHero

Repository files navigation

Task Manager

TypeScript Postgres JWT Jest Nest JS

Description

Nest framework TypeScript project following the NestJS Zero To Hero Udemy course. This project consists in a ToDo RESTful API with:

  • Authentication with JWT and semi-Authorization.
  • Validation.
  • Error Handling.
  • Data Persistence with TypeORM in Postgres.
  • Unit Testing with Jest.

This App is deployed on Heroku: https://task-management-marcussilva329.herokuapp.com/api/.

Running the app remotely

As this app is available on Heroku it can be used in the Swagger documentation endpoint written above or in any REST Client (Insomnia, Postman, etc).

Running the app localy

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Installation

$ npm install

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov