- Clone this repository
- Run
npm install
- Run
npm start
- You can view documentation for the API at http://localhost:5000
- GET - server side search using query parameters
- - min price
- - max price
- - name
- - category
- - id
- GET - Get array of products.
- POST - Add a new product
- POST - Add item to the cart
- PUT - Update quantity of item in cart
- DELETE - remove item from cart
- DELETE - checkout clear the whole cart
- GET - Retreive contents from the cart
- GET a new API key, or to refresh an old one