Skip to content

🌭 Microservices-based REST API for clients following HATEOAS.

Notifications You must be signed in to change notification settings

nerdfiles/API.SenecaJS.REST_API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API.SenecaJS.REST_API

$ npm i && npm i jq -g
$ bin/program -h
$ bin/program service

Elsewhere:

$ source scripts/resty.sh
$ resty.set 'http://localhost:8081/api'
$ GET /noop | jq '.'

We should see a broke-ass HAL-ish JSON output:

{
  "_links": {
    "self": {
      "href": "/noop"
    },
    "test": {
      "href": "/noop/test"
    }
  },
  "name": "noop",
  "data": "yellowfish"
}

wut?

Do actions from or against models as role-based commands which will result in statuses. Configure contracts and components to taste, bearing in mind...

If the engine of application state (and hence the API) is not being driven by hypertext, then it cannot be RESTful and cannot be a REST API. Period. Is there some broken manual somewhere that needs to be fixed?

Roy Fielding

Updates

Coming soon...

About

🌭 Microservices-based REST API for clients following HATEOAS.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published