Skip to content

TheRealPad/TodoListReact

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

API-reactjs-nodejs

Simple CRUD API in react and nodejs, with express and axios

Database: mongodb (https://www.mongodb.com/docs/manual/installation/)

install dependencies

In frontend/ and backend/ :

npm install

USAGE

start backend:

cd backend/
npm start

start frontend:

cd frontend/
npm start

API

/create-todo

Input:

title: string
description: string
finish: bool

Output: New task created (json)

/get-todo

Input: None

Output: json

/update-todo/:id

Input:

id: any
title: string
description: string
finish: bool

Output: task update (json)

/delete-todo/:id

Input:

id: any
title: string
description: string
finish: bool

Output: task deleted (json)

Test with Postman

For all route wich need data, you can add add it in the body as x-www-form-urlencoded

DATA

Table Todo:

title: String
description: String
finish: Boolean

About

Todo list in reactjs and nodejs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors