Skip to content

themorgancast/react-node-example

 
 

Repository files navigation

React + Node Starter (for Heroku deployment)

UP & RUNNING

  • npm install
  • npm start
  • visit http://localhost:8080/

CHANGELOG

v.0.2.0 This app has been updated to use React v15 and Babel v6! I have also updated the file structure to reflect naming conventions you'll most likely see in other applications. If you'd like to go back to v.0.0.1 (which should've been named 0.1.0), you can find go back to this commit.

DEPLOYING TO HEROKU

This app is set up for deployment to Heroku!

Heroku will follow the postinstall command in your package.json and compile assets with webpack.prod.config.js. It runs the Express web server in server.js. You'll notice there's a special section set up for running in development.

If you've never deployed a Node app to Heroku (or just need a refresher), they have a really great walkthrough here.

REDUX STARTER

If you're looking for a similar, minimalistic Redux starter, I would recommend Marc Garreau's here

About

an example react app to deploy to heroku

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.5%
  • CSS 0.5%