Everything you need to build and deploy a React app.
- React 17+, styled components, and React Testing Library
- Configured with Webpack, Babel, and ESLint
- Customizable component generation script
- Small Node/Express server to deliver the app and add API endpoints
- Setup for CI w/ Travis and deployment w/ Heroku
Node 14+
npm i
(install client dependencies)cd server
npm i
(install server dependencies)
npm run dev
(start client dev server)npm start
(start node server if you need API interaction)
npm run build
npm start
- Go to http://localhost:3000
This can be deployed to Heroku in just a few minutes.
- Login or create an account
- Create a new app
- Go to the deploy section and connect to a Github repo
- Enable automatic deploys of master
- Heroku automatically runs the
build
andstart
scripts
You can easily add Travis to run all your tests for you every time you push.
- Login or create an account
- Add your Github repo
- Change the README badge at the very top to point to your app
- In Heroku, go to the deploy tab and check the "Wait for CI" box