package todo
- Alphabetic
- Public
- All
Type Members
- case class Todo(id: UUID, title: String, completed: Boolean, order: Int) extends Product with Serializable
- case class TodoNotFound(id: UUID) extends Exception with Product with Serializable
Value Members
-
object
Main extends TwitterServer
A simple Finch application implementing the backend for the TodoMVC project.
A simple Finch application implementing the backend for the TodoMVC project.
Use the following sbt command to run the application.
$ sbt 'examples/runMain io.finch.todo.Main'
Use the following HTTPie commands to test endpoints.
$ http POST :8081/todos title=foo order:=0 completed:=false $ http PATCH :8081/todos/<UUID> completed:=true $ http :8081/todos $ http DELETE :8081/todos/<UUID> $ http DELETE :8081/todos
- object Todo extends Serializable
This is the API documentation for finch
Finch is a thin layer of purely functional basic blocks atop of [Finagle][finagle] for building composable HTTP APIs. Its mission is to provide the developers simple and robust HTTP primitives being as close as possible to the bare metal Finagle API.
Finch uses multi-project structure and contains of the following _modules_:
Please refer to the documentation for a more detailed introduction to the library.