/todo-list

react todo-list

Primary LanguageJavaScript

Todo-list App

Presentation

This is a Todo-list App, made with react and json-server.

Features

-(fake) API
-CRUD for todos

How to test it ?

Clone the project on your local machine: git clone https://github.com/pimoux/todo-list.git
Install the node modules at the root of the project: npm install
To make API calls, create a .env file to the root of the project and add the following environment variable: REACT_APP_API_URL=http://localhost:4000/
To interact properly with the API data, create a JSON file named data.json in src/data folder: cd src/data, touch data.json and then copy all the data of db-init.json and paste it to the created file.
run the API: npm run api
run the project: npm start and then you can see the project in your browser on localhost:3000

UI

desktop