Skip to content

hrdyjan1/4IT572_circleci

Repository files navigation

Installation Guide

Build/Run

  • Source code of the React app is based on "react-shopping-cart" app made under MIT license by Jefferson Ribeiro

Requirements

  • Node.js
  • NPM
/* First, Install the needed packages */
npm install

/* Then start both Node and React */
npm start

/* To run the tests */
npm run test

/* Build sources */
npm run build

/* Running e2e tests */
npm run wdio

/* Deploy to Firebase */
./node_modules/.bin/firebase deploy --token=$FIREBASE_DEPLOY_TOKEN

About tests .

  • Unit tests
    • All components have at least a basic smoke test
  • Integration tests
    • Fetch product and add to cart properly
  • e2e
    • Webdriverio - Add and remove product from cart

Copyright and license

The MIT License (MIT). Please see License File for more information.

About

School project - DevOps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published