/supnex_test_project

Primary LanguageTypeScriptMIT LicenseMIT

About the project

This project is a test project for SupNex company. It is a simple REST API for managing ingredients.

Project Architecture

Installation

git clone git@github.com:smrrazavian/supnex_test_project.git && cd supnex_test_project
npm install

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

Running the app with docker-compose

# development
docker-compose up -d --build

TODO

pre-commit [https://www.npmjs.com/package/pre-commit]