https://react-shopping-cart-nooras.herokuapp.com/
Views - React Components
Action creators
Reducers
Store(state hub)
- npm install react-reveal
- yarn add react-reveal
- npm install react-modal
- yarn add react-modal
- npm install react-redux
- yarn add react-redux
- npm install shortid mongoose express body-parser
- yarn add shortid mongoose express body-parser
- Create account on https://cloud.mongodb.com/
- Create database in collection
- Netwrok access - Add ip address 0.0.0.0/0
- Create datbase accesss user
- Create account on https://dashboard.heroku.com/apps
- Install in Linux sudo snap install --classic heroku (https://cli-auth.heroku.com/)
- Type heroku login on terminal
- Create link by linux CLI heroku apps:create react-shopping-cart-nooras
- Add this in package.json "engines": { "node" : "12.4.0", "npm" : "6.9.0" }
- Remove yarn.lock
- Push it on github
- Now push it on heroku by git push heroku
- Go to link provided in step 7
- Now add necessary data on server by postman.
- Done