https://sleepy-falls-91670.herokuapp.com/profile/raj
create-react-app client
"proxy": "http://localhost:8000"
"scripts": {
"client-install": "npm install --prefix client",
"start": "node server.js",
"server": "nodemon server.js",
"client": "npm start --prefix client",
"dev": "concurrently \"npm run server\" \"npm run client\""
}
"client-install": "npm install --prefix client"
==> go to client folder and run npm install
"dev": "concurrently \"npm run server\" \"npm run client\""
==> run server and client script concurrently
Any property you have in component, you should map it to PropTypes