This is a Todo-list App, made with react and json-server.
-(fake) API 
-CRUD for todos
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 
