Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 592 Bytes

README.md

File metadata and controls

47 lines (32 loc) · 592 Bytes

Example E-commerce API With NestJS

Description

This is an example of an E-commerce API built with NestJS, which can be used as a reference in other projects.

Installation

npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

Test

# unit tests
$ npm run test

# test coverage
$ npm run test:cov

Migration

# Generate migration
$ npm run migration:generate -- db/migrations/initial

# Run migration
$ npm run migration:run

Swagger UI

http://localhost:3200/api/docs