Skip to content
This repository was archived by the owner on Nov 24, 2022. It is now read-only.

dendicious/express-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

express-react

Express.js + React.js boilerplate with minimal configuration. Backend side is built with express-generator and frontend side is built with create-react-app

Port

Both backend and frontend are forced to running on these port:

  • Express: 3000
  • React: 3001

You can edit manually on express-react/package.json for express and express-react/client/package.json for react

Installation

Install express and it's dependencies

$ git clone https://github.com/irxd/express-react.git && cd express-react
$ npm install

And then install react dependencies

$ cd client
$ yarn install

Running

Running express:

Open express directory: express-react/
$ npm start

Running react:

Open new terminal and go to react directory: express-react/client
$ yarn start

Open http://localhost:3001 in browser, you'll see react with some static data fetched from express

About

Express + React boilerplate with minimal configuration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published