https://github.com/abhijeetsatpute/todo-list
Created a simple CRUD TODO list React app with GET POST PUT DELETE routes using Oak -Deno Framework and Mongo DB.
https://github.com/abhijeetsatpute/todo-list
deno mongodb oak reactjs typescript
Last synced: 2 months ago
JSON representation
Created a simple CRUD TODO list React app with GET POST PUT DELETE routes using Oak -Deno Framework and Mongo DB.
- Host: GitHub
- URL: https://github.com/abhijeetsatpute/todo-list
- Owner: abhijeetsatpute
- Created: 2022-08-27T19:32:54.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-08-28T03:37:03.000Z (almost 4 years ago)
- Last Synced: 2026-01-19T18:43:37.388Z (5 months ago)
- Topics: deno, mongodb, oak, reactjs, typescript
- Language: TypeScript
- Homepage: https://630adb9f1b8fa573d1654cd4--dynamic-panda-fb647f.netlify.app/
- Size: 325 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# todo-list
Created a simple CRUD TODO list React app with GET POST PUT DELETE routes using Oak -Deno Framework and Mongo DB.
API example with Deno, Oak and mongodb
## Getting Started
```
deno run --allow-net --allow-read app.ts
```
## Methods
### Get Todos
```
GET http://localhost:8000/todos
```
### Get Todo
```
GET http://localhost:8000/todos/:todoId
```
### Create Todo
```
POST http://localhost:8000/todos
Content-Type: application/json
{
"name": "Task # 1"
}
```
### Update Todo
```
PUT http://localhost:8000/todos/:todoId
Content-Type: application/json
{
"completed": true
}
```
### Delete Todo
```
DELETE http://localhost:8000/todos/:todoId
Content-Type: application/json
```
## Authors
* **Abhijeet Satpute** - *Developer* - [Abhijeet](https://github.com/abhijeetsatpute)