Skip to content

rkterungwa16/karenkombol-store-api

Repository files navigation

Karen Kombol Store Api

API URL

Getting Started

Clone the repo:

git clone https://github.com/rkterungwa16/karenkombol-store-api.git
cd karenkombol-store-api 

Install dependencies:

npm i

Set environment variables:

cp .env.example .env

Generate resources

nest generate <schematic> <name>
# example
nest generate service currency

nest generate module product/product-size

nest generate controller product/product-size

nest generate service product/product-size 

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

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov