A simple todo application inspired by Microsoft Todo
The API is avaliable at: https://asp-net-todo.azurewebsites.net/api
The application is avaliable at: https://todist-app.firebaseapp.com/
- Fix Search / Sidebar Bug on mobile devices
- Improve code quality
- Add tests
- MongoDB needs to be up a running.
- A DB named
asp_net_todo
needs to be created - Collections
todo
anduser
also needs to be created
cd TodoAspNetCore
dotnet run
Server will be running on http://localhost:5000
cd client
yarn start
Client will be running on http://localhost:3000
- All endpoints start with: http://asp-net-todo.azurewebsites.net/api or http://localhost:59821 when running locally
- All
todo
routes require a token which is supplied during login
/auth/register
POST
username: Username,
password: Password
/auth/login
POST
username: Username,
password: Password
/todo/add_category?category=<name>
POST
name: New category name
/todo/add_todo
POST
title: Todo Title,
category: Todo Category
/todo/all
GET
/todo/category?category=<name>
GET
name: Category Name
/todo/starting?datetime=<date>
GET
date: Unix timestamp in milliseconds
/todo/due?datetime=<date>
GET
date: Unix timestamp in milliseconds
/todo?id=<id>
GET
id: Todo Id
/todo/completed
GET
/todo/incomplete
GET
/todo/priority?priority=<priority>
GET
priority: Number for priority
/todo/update_todo
PUT
Id: Todo Id,
DueDate: ISO Date string,
Note: Extra Content,
Priority: Priority
/todo/complete_todo?id=<id>
PATCH
id: Todo Id
/todo/mark_incomplete_todo?id=<id>
PATCH
id: Todo Id
/todo/update_category?category=<name>&newcategoryname=<newName>
PATCH
name: Old Category Name,
newName: New Name for Category
/todo/change_priority?priority=<priority>&id=<id>
PATCH
priority: Number for priority,
id: Todo Id
/todo?id=<id>
DELETE
id: Todo Id
/todo/completed?category=<name>
DELETE
name: Category Name
/todo/category?category=<name>
DELETE
name: Category Name