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.
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.
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.
These are the supported commands:
npm run build
: Compiles the project and places the output in thedist
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.