react-for-heroku
react-for-heroku copied to clipboard
A simple deployment ready react - webpack 4 boilerplate for heroku
react-for-heroku
A simple deployment ready webpack-react application for heroku. Please follow the link for detailed explanation: https://codeburst.io/deploy-your-webpack-apps-to-heroku-in-3-simple-steps-4ae072af93a8
Instructions
- Clone this repo
- Run
npm install
- Run
npm run dev
, localhost:8080 will open up in your default browser
Verify production code
- Run
webpack -p
- Run
node server.js
, and visit localhost:8080, voila your code is ready for heroku now.