{"id":24503426,"url":"https://github.com/nerdfiles/api.senecajs.rest_api","last_synced_at":"2025-03-15T08:22:30.758Z","repository":{"id":21382443,"uuid":"92614613","full_name":"nerdfiles/API.SenecaJS.REST_API","owner":"nerdfiles","description":"🌭 Microservices-based REST API for clients following HATEOAS.","archived":false,"fork":false,"pushed_at":"2022-12-30T19:54:15.000Z","size":2802,"stargazers_count":0,"open_issues_count":20,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-15T07:42:43.767Z","etag":null,"topics":["expressjs","hypermedia-api","rest","seneca-entity","seneca-web-adapter-connect","senecajs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nerdfiles.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-27T17:46:37.000Z","updated_at":"2023-09-08T17:25:37.000Z","dependencies_parsed_at":"2023-01-12T10:15:27.991Z","dependency_job_id":null,"html_url":"https://github.com/nerdfiles/API.SenecaJS.REST_API","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdfiles%2FAPI.SenecaJS.REST_API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdfiles%2FAPI.SenecaJS.REST_API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdfiles%2FAPI.SenecaJS.REST_API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdfiles%2FAPI.SenecaJS.REST_API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nerdfiles","download_url":"https://codeload.github.com/nerdfiles/API.SenecaJS.REST_API/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243703522,"owners_count":20333979,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["expressjs","hypermedia-api","rest","seneca-entity","seneca-web-adapter-connect","senecajs"],"created_at":"2025-01-21T23:17:10.307Z","updated_at":"2025-03-15T08:22:30.726Z","avatar_url":"https://github.com/nerdfiles.png","language":"JavaScript","readme":"# API.SenecaJS.REST_API\n\n    $ npm i \u0026\u0026 npm i jq -g\n    $ bin/program -h\n    $ bin/program service\n\nElsewhere:\n\n    $ source scripts/resty.sh\n    $ resty.set 'http://localhost:8081/api'\n    $ GET /noop | jq '.'\n\nWe should see a broke-ass HAL-ish JSON output:\n\n```json\n{\n  \"_links\": {\n    \"self\": {\n      \"href\": \"/noop\"\n    },\n    \"test\": {\n      \"href\": \"/noop/test\"\n    }\n  },\n  \"name\": \"noop\",\n  \"data\": \"yellowfish\"\n}\n```\n\n## wut?\n\nDo [*actions*][action] from or against *models* as *role*-based *commands* which\nwill result in *statuses*. Configure *contracts* and *components* to taste,\nbearing in mind...\n\n\u003cblockquote\u003e\n\u003cp\u003eIf the engine of application state (and hence the API) is not being driven by\nhypertext, then it cannot be RESTful and cannot be a REST API. Period. Is there\nsome broken manual somewhere that needs to be fixed?\u003c/p\u003e\n\u003cdiv\u003e\u003ccite\u003eRoy Fielding\u003c/cite\u003e\u003c/div\u003e\n\u003c/blockquote\u003e\n\n## Updates\n\nComing soon...\n\n[action]: https://schema.org/Action\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnerdfiles%2Fapi.senecajs.rest_api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnerdfiles%2Fapi.senecajs.rest_api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnerdfiles%2Fapi.senecajs.rest_api/lists"}