/iManager

A basic frontend app to list items and mark them as favourites

Primary LanguageTypeScriptMIT LicenseMIT

iManager

Build Status Coverage Status Known Vulnerabilities License Code Size Last Commit

What's this

iManager is a basic frontend application that allows the end-user to navigate through an items catalog. The main purpose of developing this, was to create a project with react hooks and test components with jest and enzyme. You can read the full project memory here.

Required dependencies

In order to compile and modify the project you need to install both dependencies and development dependencies. npm package manager has been used to create this project.

A npm install should be enought to install required dependencies.

Recommended development environment

VSCode with ESLint extension is recommended.

During the development, the extension has been configured to automatically fix code style errors following the airbnb style guide.

Compiling and working

These are the supported commands:

  • npm run build: Compiles the project and places the output in the dist directory.
  • npm start: Compiles the project and starts it. Changes are automatically detected and hot reloaded.
  • npm test: Runs tests.
  • npm run test:coverage: Runs tests with a code coverage report.
  • npm run test:verbose: Runs tests in verbose mode.
  • npm run test:e2e: Runs end to end tests.
  • npm run cypress:open: Starts cypress UI.