Skip to content

Latest commit

 

History

History
83 lines (47 loc) · 1.46 KB

README.md

File metadata and controls

83 lines (47 loc) · 1.46 KB

Inventory Control

This is a stock control API, where is possible to register, edit and delete users, customers and suppliers. in addition to being able to carry out inputs and outputs of registered products.

Documentation

To view the documentation, click here.

Installation

* NOTE: To run this project on your computer, you need to install docker. To learn more about, click here.

To run this project on your computer, use this commands

  git clone https://github.com/jeanlimadev/inventory-control.git

  cd inventory-control

After, run the command to install the dependencies

  yarn
  
  or

  npm install
Create an .env file on root of project containing the environment variables like the example below

.env file

And finally, you need to run the docker compose command.

  docker compose up

Running tests

Before run the tests, you need to run this command

  yarn seed:admin
  
  or
  
  npm run seed:admin

To run the tests, use the command

  npm run test
  
  or

  yarn test

Stacks used

  • NodeJs
  • Express
  • Typescript
  • Prisma ORM
  • PostgreSQL
  • Vitest
  • Docker
  • Swagger UI

Contact the developer

linkedin