This project was bootstrapped with Create React App.
For a live demo click here.
- React 16 with ES6
- Routing with React Router 4
- Building and bundling with Webpack
- CSS preprocessing with Sass
- Unit tests with Jest and Enzyme
- End-to-end tests with Puppeteer
- Clone this repo
- Run
npm install
oryarn install
(Node.js >= 8.0.0) - Run
npm start
oryarn start
- Browse to
localhost:3000
- Run
npm start
(oryarn start
) to run development server onhttp://localhost:3000/
- Run
npm run build
builds the app for production to thebuild
folder. - Run
npm test
to run tests. See the section on running tests below.
This project uses Jest with Enzyme to run unit tests and Puppeteer to run e2e tests. Run npm test
to run tests. This will run e2e tests with a headless browser. To view e2e tests in the browser (Chromium) run npm test
with DEBUG
variable set to true
like this:
REACT_APP_DEBUG=true npm test
MIT