Skip to content

achimoraites/Serve-React-app-with-Express

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serve-React-app-with-Express

A boilerplate to deploy react apps on heroku.

How to get started

npm run dev-install
cd client
yarn build
cd ..
npm run start

After go to http://localhost:5000 your app is now served by the express.js server.

Development

cd client
yarn start

and you can start building your app.

Heroku

Remember when you have developed your react project , you simply deploy to heroku. After that heroku will install the server dependencies and runs 'heroku-postbuild' script to install the react dependencies for your app.

About

A boilerplate to deploy react apps on heroku.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published