React Challenge

Feature implemented

  1. User login feature. sample credentials are phone: 0722222222 and password: 123456
  2. Fetch the list of tasks from the backend and display them in the frontend.
  3. Pagination for the tasks is implemented
  4. User logout feature is working too.
  5. Data visualization using Chart.js for the tasks completed vs those pending

Set up

  • Clone this repository by running the command git clone https://github.com/meshack-mbuvi/react-challenge.git
  • change directory to react-challenge
  • Install dependencies by running npm install
  • Run the application by executing npm start
  • View the application on http://localhost:3000 using your browser.

Live application:

This is application is hosted here https://reac-challenge.netlify.com

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!