This project is deployed on Heroku at https://immense-sea-46975.herokuapp.com/ The Database used was the online mongoDb, hence data might not load immediately.
#Future improvements:
- Add loader
- Add signin and login (Authorisation and Authentication)
- Use heroku db to save images so that they can be loaded immediately
- Add an option to delete a product
- Add an option to update a product
#Usage
Install all dependencies
npm install
Run the app
npm run dev
#1. List of Products
Use the get option : http://localhost:4000/products
#2. Detail of a particular product
Use the get option : http://localhost:4000/products/:id
#3. Add new product
Use the post option : http://localhost:4000/products/add