Skip to content

toinfinityandbeyond/react-spa

Repository files navigation

React SPA

This boilerplate belongs to Lucas Bassetti

Components

  • Babel for ES6 support.
  • Chai as BDD / TDD assertion library.
  • ESlint for ES6 linting using Airbnb's JS style guide.
  • Mocha as test framework.
  • Nyc for test coverage
  • React as front-end view library.
  • Webpack for bundling of JavaScript modules.

Getting Started

Run the following commands in your terminal

git clone https://github.com/toinfinityandbeyond/react-spa.git
cd react-spa
npm install
npm start

Then open http://localhost:8080/ on your web browser.

Scripts

  1. Run npm test for simple test.
  2. Run npm run lint for ensure your code is syntactically correct.
  3. Run npm run test:watch for watch tests.
  4. Run npm run test:coverage for test coverage. This will generate a coverage folder. Open the index.html file in this folder to check the results.
  5. Run npm run build for deployment build.
  6. Webpack dev server with automatic reloading. Start with: npm start.

Deploying

For deployment, run npm run build and upload build/ to your server.

About

A SPA shopping cart based on React

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published