Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1.05 KB

README.md

File metadata and controls

39 lines (25 loc) · 1.05 KB

express-react-quickstart

This is a quick-start client/server app and using React.js and Express.js

gif

Installation

git clone https://github.com/dudewheresmycode/express-react-quickstart.git
cd express-react-quickstart
yarn

This project uses yarn workspaces to separate the /client and /server dependencies. Which allows us to install everything we need with one yarn command.

Development

Now that everything's installed, we can start everything with the develop script.

yarn develop

This starts the React app in development mode, and the server with nodemon to watch for file changes. Easy right?

Production

yarn build

This command will build the production bundle for the React app.

yarn start

This command will start the server.