create-react-app + Express API
- A simple react app with a backend express API 💥 🎉 🐝
- see the demo of the site: https://react-express-boilerplate.herokuapp.com/
- react.js + Create React App.
- Express.js
- clone this repository && and create a new git repo
$ git clone git@github.com:thechutrain/react-express-api-boilerplate.git
$ rm -rf .git
$ git init
- front end react app lives inside the
src/
folder - your server and any routes can be added inside the
server/
folder $ npm run dev
will concurrently start the react development server & your backend API server
Prerequisites - heroku account && heroku command line tools
$ heroku create [Your-app-name]
$ npm run build
$ git push heroku [your-production-branch-name]:master
$ heroku open
- Please submit an issue OR feel free to contribute and send a pull request.