/Payment-Sub-System-API

Payment Sub System API with NestJS and MySQL

Primary LanguageTypeScriptMIT LicenseMIT

Payment-Sub-System-API

Payment Sub System API with NestJS

Description

Installation with Docker

  1. Clone from git

  2. cd into Payment-Sub-System-API

  3. run yarn install to install all dependencies

Running the app

# development mode with Dockerfile.dev
$ docker-compose up

# production mode with Dockerfile
$ docker-compose up

Test

# unit tests
$ yarn test

# test coverage
$ yarn test:cov

Swagger UI Documentation

Swagger UI Doc

PHP_MYADMIN

username: root password: root

phpmyadmin

N.B

In the invoice_discount table, the column name is considered as both product category name or product name. In summary, All product categories and products are in the invoice_discount table.

License

Nest is MIT licensed.