Skip to content

manuelbiolatiri/automat-buy-sell-machine

Repository files navigation

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications, heavily inspired by Angular.

NPM Version Package License NPM Downloads Travis Linux Coverage Gitter Backers on Open Collective Sponsors on Open Collective

Description

API design for a automat-buy-sell machine, allowing users with a “seller” role to add, update or remove products, while users with a “buyer” role can deposit coins into the machine and make purchases. Your automat-buy-sell machine should only accept 5, 10, 20, 50 and 100 cent coins

Installation

$ git clone https://github.com/iamraphson/vendor-system-api.git
$ cd automat-buy-sell-machine
$ cp .env.exmaple .env #don't forget to update the DB credential
$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

Test

# e2e tests
$ npm run test:e2e

##Documentation Navigate to http://localhost:3000/docs on your computer to view the openapi documentation.

Technology Stack

Todo

  • Increase test coverage.

License

Automate-Buy-Sell Machine API is MIT licensed.

About

NestJS TypeOrm Typescript Mysql

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published