Skip to content

Latest commit

 

History

History
57 lines (35 loc) · 1.27 KB

README.md

File metadata and controls

57 lines (35 loc) · 1.27 KB

reactTemplate16dot8

A fully functional modern out-of-the-box react template

Includes:

  • react 16.8 HOOKS!!!

  • router4

  • axios for api calls

  • other great stuff: poppers, styledComponents, sass-configured

  • webpack bundles all major assets -- css/scss jpg/gif/png svg

  • serves locally with webpack-dev-server

  • webpack, eslint fully configured for react

  • sourcemap configured to view and set breakpoints on jsx files in console sources

Setting up the react app

install node.js

install yarn

$ sudo chown -R $USER /usr/local/lib/node_modules
$ npm install -g yarn

running the app

$ cd into getccd-react-app
$ yarn install
$ yarn start

yarn start

Runs the app in the development mode.
Open [http://localhost:8080] to view it in the browser.

yarn test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

yarn build

  • Webpack Hot Module Replacement (HMR) dynamically updates modules as they as they modify.

  • index_bundle.js, non-minified, is available in /dist. By default environment variable is not configured.

  • Your app is ready to be deployed!