/Practical

Primary LanguageTypeScript

Description

This project contains login related APIs, in which two module included which are User and Auth modules.

Database

Import sql dump file.

File details

httpException.filter.ts

  • For custom exception handler in-order to changes error response format

httpException.ts

  • Work as more like interface by extending javascript error constructor

validation.pipe.ts

  • Validation pipe for request data validation and will return single error message with bad request http status

config.service.ts

  • Contains database connection configuration

Installation

$ npm install

Running the app

$ npm run start:dev

Swagger

http://[::1]:3000/api#/

Postman collection

postman_collection.json