https://github.com/kayange123/todo-store
A simple Endpoint to interact with in your first App with your frontend tech. Design and build your todo App without worrying about the backend!
https://github.com/kayange123/todo-store
api-rest express js json-api onrender
Last synced: about 1 month ago
JSON representation
A simple Endpoint to interact with in your first App with your frontend tech. Design and build your todo App without worrying about the backend!
- Host: GitHub
- URL: https://github.com/kayange123/todo-store
- Owner: Kayange123
- Created: 2023-08-11T08:44:58.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-11T10:50:28.000Z (over 1 year ago)
- Last Synced: 2024-10-11T20:02:06.993Z (7 months ago)
- Topics: api-rest, express, js, json-api, onrender
- Language: JavaScript
- Homepage:
- Size: 34.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# todo-store
This simple end-point provides you with the ability to POST, EDIT, DELETE or GET todo(s) without hustle and just focus with your front end part of either web or mobile app## End point link
```
https://datastore-5ecb.onrender.com
```# Todo Schema
```
{
"id": "todo-id",
"title": "Todo title",
"description": "Todo description",
"isComplete": booleanValue,
"createdAt": ISOString("2023-08-11T09:47:15.627Z"),
"lastUpdate": ISOString("2023-08-11T09:47:15.627Z")
}
```
# Methods
## GET Method
### Get all todos```
{endpoint}/api/
```
---
---
### Get single todo by ID
```
{endpoint}/api/{todo-id}
```
---
## POST Method
```
{endpoint}/api/createbody : {
"title": "Todo title",
"description": "Todo description",
"isComplete": false
}
```
## DELETE Method
---
```
{endpoint}/api/delete/{todo-id}
```
## PUT Method
---
```
{endpoint}/api/edit/{todo-id}
```
