io.finch

demo

package demo

The demo project shows the usage of Finch's basic blocks for building a purely functional REST API backend emulating a set of services working with users and their tickets (i.e., cinema tickets).

The following packages represent the backend:

- demo.model - domain model classes: User and Ticket - demo.reader - io.finch.request.RequestReaders for models - demo.service - the application services - demo.endpoint - io.finch.route.Routers for services (endpoints)

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. demo
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. case class AuthRequest(http: HttpRequest) extends Product with Serializable

Value Members

  1. object Db

  2. object Id

  3. object Main extends App

    To run the demo from console use:

  4. implicit val authReqEv: (AuthRequest) ⇒ HttpRequest

  5. object endpoint

  6. object model

  7. object reader

  8. object service

Inherited from AnyRef

Inherited from Any

Ungrouped