Connecting producers to consumers.
Endpoint | Purpose |
---|---|
GET /account/findusers |
Fetches a list of all users histories |
GET /account/logout |
Logs a user out of the system |
POST /account/signin |
Signs a user into the system |
POST /account/signup |
Signs the user up |
GET /producer/findAll |
Fetches a list of all the producers |
GET /producer/:id |
Fetches a producer's details given an uuid |
POST /producer/create |
Creates a new producer in the system |
PUT /producer/:producersId |
Updates a producer's detail given a uuid |
DELETE /producer/:id |
Deletes a producer from the system given a valid uuid |
GET /product/findAll |
Fetches a list of all the products |
GET /product/:id |
Fetches a product's details given an uuid |
POST /product/create |
Creates a new product in the system |
PUT /product/:id |
Updates a product detail given a uuid |
DELETE /product/:id |
Deletes a product from the system given a valid uuid |
npm i
To run our unit tests you can run:
npm run test
To lint the code run:
npm run lint
To lint the code run:
npm run dev
To lint the code run:
npm run start-all
This service leverages the async/wait
pattern and requires a newer version of node in order to properly work.
- Eric Okemmadu
- Chioma Onyekpere
- Obinna Osuji