Skip to content

tullo/invoice-mvp

Repository files navigation

Invoice MVP

A minimum viable product for invoicing.

Level-3: HyperMedia/HATEOAS

HAL Invoice

HAL invoice representation with allowed actions depending on current invoice state.

{
  "id": 1,
  "month": 9,
  "year": 2020,
  "status": "open",
  "customerId": 1,
  "_links": {
    "book": {
      "href": "/book/1"
    },
    "bookings": {
      "href": "/invoice/1/bookings"
    },
    "cancel": {
      "href": "/invoice/1"
    },
    "charge": {
      "href": "/charge/1"
    },
    "self": {
      "href": "/invoice/1"
    }
  }
}

About

Invoice MVP (Level-3: HyperMedia/HATEOAS)

Resources

License

Stars

Watchers

Forks

Releases

No releases published