/tr1pptest

Tr1pp Backend Developer test

Primary LanguageJavaScript

tr1pptest

Tr1pp Backend Developer test

Description

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

How to start

  • 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 on localhost:4000
  • Import the postman collection on the root of the project to test