Skip to content

Latest commit

 

History

History
65 lines (37 loc) · 1.31 KB

README.md

File metadata and controls

65 lines (37 loc) · 1.31 KB

Node.js - Artur Dolzan Neto

Important: Docker service required

Commands to run after clone:

yarn
docker-compose up
yarn typeorm migration:run
yarn seed:admin

Commands to run tests

yarn test

Swagger Api Doc

http://localhost:3333/api-docs/#/

Register

Functional requirements

  • Should be able to register new users to database.

Session

Functional requirements

  • Should be able to authenticate the user and generate a token

Stock

Functional requirements

  • Should be able to consult the requested stock

Stock History

Functional requirements

  • Should be able to consult the access history by user

Stock Stats

Functional requirements

  • The Super User should be able to consult the total amount per stock

Forgot Password

Functional requirements

Reset Password

Functional requirements

  • Should update the password with the token authorization given in step "Forgot Password"