/todos

Primary LanguageDart

todos

style: very good analysis License: MIT Powered by Dart Frog

An example todos app built with dart_frog

How to run?

  1. Read the prerequisites

  2. Clone the repo and cd into it

  3. Run dart pub get on each package

  4. Run dart_frog dev from root project

  5. Open http://localhost:8080 at your browser (or REST client app if you want)

Usage

  1. GET http://localhost:8080/todos to show all todos

  2. POST http://localhost:8080/todos and give it a body of {"title": "Your note here"} to create new todo

  3. GET http://localhost:8080/todos/ to read specific todo by id

  4. PUT http://localhost:8080/todos/ and give it a body of {"title": "Update note here", "isCompleted": true} to update specific todo by id

  5. DELETE http://localhost:8080/todos/ to delete a specific todo by id