Skip to content

raj-kumar94/socialDevs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo

https://sleepy-falls-91670.herokuapp.com/profile/raj

creating react app

create-react-app client

add a proxy to package.json

"proxy": "http://localhost:8000"

scripts (package.json --> client)

"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

PropTypes

Any property you have in component, you should map it to PropTypes

About

Social platform for developers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published