I work on this project in short focused sessions, this list's supposed to keep me on track when I revisit the codebase
- write tests to support
options
on all endpoints - add handling of failed
fetch
request -
add POST endpoints to HATEOASlinks -
supportOPTIONS
request method - turn slug into an array
-
create nested URL structure for the API like:old-house/hallway
-
add "image/*" response to the endpoints if an image illustrating the endpoint (that is the location on the map) exists -
refactor buildApi and subsequent functions
- checkout definition of resource: https://www.rfc-editor.org/rfc/rfc7231#section-3
- relation between different versions of a resource: https://stackoverflow.com/a/35722727
- more on the resources: https://www.ibm.com/docs/en/was-nd/9.0.5?topic=applications-defining-resources-in-restful
- https://softwareengineering.stackexchange.com/questions/319202/in-rest-parlance-what-is-the-difference-between-a-resource-and-a-representation https://httpwg.org/specs/rfc7231.html#header.accept