Assignment Repo for Eltropy Job Interview
Implement a client-side application where it will be possible to add item name and value.
-
It should be possible to carry out CRUD operations.
-
This list must be saved in the browser's LocalStorage, and if the user leaves the page and returns, the list must be retrieved from LocalStorage.
-
It should also show total items selected.
-
Users should be able to search for a particular item by name. Users should be able to remove the item as well as change the value of the items.
-
The layout must be responsive.
- React
- Redux
- Webpack
- Babel
- Semantic UI React/CSS
- Jest/Enzyme
- Check if you have
node
andnpm
installed in your machine, by running the following:
node -v
npm -v
If you do not have node
or npm
installed, download and run the installer: https://nodejs.org/en/download/
- Run the following commands to download and setup the repo:
git clone https://github.com/eragon512/eltropy-test.git
cd eltropy-test
npm install
- To run the dev server, run the command:
npm run dev
This should launch the webpage and it should now be available at http://localhost:8080
-
To run tests, run the command:
npm run test
To run tests in watch mode (rerun tests on file changes), run the command:npm run test:watch
-
To take a development build of the bundle, run:
npm run build
To take a production build, run:npm run build:prod