spunkyshooter / react-express-boilerplate

Provides a boiler plate which can be used just with few clicks.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to use

All you have to do now is

  • To Install all the packages mentioned in the package.json
yarn install
  • To create react app in client directory
 npx create-react-app client

Now change directory to client .

Inside the client folder

Proxy (optional)

Add proxy is need to be set in client to do requests locally if you don’t wanna type "http//localhost:4000" in every request so add this line in package.json file of client "proxy": "http://localhost:4000"

yarn add react-router-dom node-sass
  • and rename css to scss
For ABSOLUTE imports in react
  • copy the jsconfig.json file and place where package.json is present

About

Provides a boiler plate which can be used just with few clicks.


Languages

Language:JavaScript 100.0%