Skip to content

ArturDolzan/api-stocks

Repository files navigation

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"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published