Skip to content

bpb27/react-starter-kit

Repository files navigation

React Starter Pack Build Status

Everything you need to build and deploy a React app.

About

  1. React 17+, styled components, and React Testing Library
  2. Configured with Webpack, Babel, and ESLint
  3. Customizable component generation script
  4. Small Node/Express server to deliver the app and add API endpoints
  5. Setup for CI w/ Travis and deployment w/ Heroku

Requirements

Node 14+

Setup

  1. npm i (install client dependencies)
  2. cd server
  3. npm i (install server dependencies)

Development

  1. npm run dev (start client dev server)
  2. npm start (start node server if you need API interaction)

Running a build with the node server

  1. npm run build
  2. npm start
  3. Go to http://localhost:3000

Deploying

This can be deployed to Heroku in just a few minutes.

  1. Login or create an account
  2. Create a new app
  3. Go to the deploy section and connect to a Github repo
  4. Enable automatic deploys of master
  5. Heroku automatically runs the build and start scripts

Setup CI

You can easily add Travis to run all your tests for you every time you push.

  1. Login or create an account
  2. Add your Github repo
  3. Change the README badge at the very top to point to your app
  4. In Heroku, go to the deploy tab and check the "Wait for CI" box

About

starter template for a react app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published