Tr1pp Backend Developer test
This project contains APIs to log receipts and add products to a given store. This APIs provide endpoints to :
-
Log purchase receipts
-
Query DB for total sales in a given month
-
Query DB for complete product list
-
Add/modify/delete products
-
Query DB for monthly sales by product
- Clone the repo to your local machine
- Start an instance of your local MongoDB
- CD into the project and run yarn install
- Run
yarn run dev:build
to build the project - Run
yarn run dev
to start the project onlocalhost:4000
- Import the postman collection on the root of the project to test