This is a simple micro CRUD application built in React + Redux. The application is consuming the https://jsonplaceholder.typicode.com/ dummy json API.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
You need node
inorder to run the application locally.
for OS specific instructions, you can go thought this guide. Installing Node.
An alternative is installing a version manager inorder to easily run different versions of node. My favorite is asdf.
This project was developed with Node v8.
These are instructions to get you up and running locally.
Note: You can also use yarn
.
First clone the repository and change into the directory:
git clone https://github.com/Habu-Kagumba/listy-app.git
Change into the directory, these command may vary according to your OS. For Linux, the command would be cd listy-app
. Next you need to install project dendencies using npm
:
npm install
To start the development server, runthis command. For OSX users, this will automatically open the page for you on the browser.
npm run start
The application looks like this:
You can build the project which will create a build folder in the project root directory.
npm run build
The project uses Jest. To run the tests, use this command:
npm run test
To also include coverage, you can run:
npm run coverage
The project uses ES-Lint, the command to link the project is:
npm run lint