/Todist

A simple todo application inspired by Microsoft Todo

Primary LanguageJavaScriptMIT LicenseMIT

Todist

A simple todo application inspired by Microsoft Todo

The application is avaliable at: https://todist-app.firebaseapp.com/

Initial login could take some time as Azure shuts down free servers after a few minutes.

This is a work in progress.

TODO:

  • Fix Search / Sidebar Bug on mobile devices
  • Improve code quality
  • Add tests

Screenshots:

Home Dashboard

Running it locally:

Pre Requisite:

  • MongoDB needs to be up a running.
  • A DB named asp_net_todo needs to be created
  • Collections todo and user also needs to be created
Open a terminal:
    cd TodoAspNetCore
    dotnet run

Server will be running on http://localhost:5000

Open another Terminal:
    cd client
    yarn start

Client will be running on http://localhost:3000

Api Endpoints:

    /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