#REACTJS Product Hunt Clone
- Ensure you have
npm
installed.
Follow the instructions for your platform here.
- Install
http-server
npm install
- Boot the HTTP server
npm run server
The server is now running at localhost:3000
####Chapter Exercises
- Adddown-votingcapabilitytoeachProduct.Youcaninsertadownarrowwiththis JSX snippet:
- Add a “sort direction” button to the top of ProductList, above all the products. It should enable the user to toggle sorting products by ascending or descending.