Skip to content

Saif-Haq/my-car-valuation-nestjs

Repository files navigation

Nest JS: The Complete Developer's Guide - Car Valuation Project

In this project user can login/sign-up. User can generate a report of a car sale and get an estimate for a specific car using old reports data.

Admin role users approve reports of users

Somethings I Learned Along the Way: Wrote automated integration and unit tests to make sure your code is working Built an authentication system from scratch to log users in Allow users to perform certain actions with a permissions system Store and retrieve data with complex queries using TypeORM Understood how TypeORM handles data relationships Master the concept of dependency injection to write reusable code Implement automatic validation of incoming requests Format outgoing response data with a custom DTO system Guards and Interceptors Migrations

POSTMAN COLLECTION: https://documenter.getpostman.com/view/26930441/2sA3Bn5sGR

Installation

$ npm install

Migrations

$ npm run migration:generate
$ npm run migration:run

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# file specific unit tests
$ npm run test:watch

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

About

Car Valuation NestJS project with TypeORM

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published