Simple CRUD API in react and nodejs, with express and axios
Database: mongodb (https://www.mongodb.com/docs/manual/installation/)
In frontend/ and backend/ :
npm install
start backend:
cd backend/
npm start
start frontend:
cd frontend/
npm start
Input:
title: string
description: string
finish: bool
Output: New task created (json)
Input: None
Output: json
Input:
id: any
title: string
description: string
finish: bool
Output: task update (json)
Input:
id: any
title: string
description: string
finish: bool
Output: task deleted (json)
For all route wich need data, you can add add it in the body as x-www-form-urlencoded
Table Todo:
title: String
description: String
finish: Boolean