Our great sponsors
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
There's a million different approaches but might I suggest json:api, which is all about the structure of your requests and responses, but makes no demands on your URL structure, for instance. It is intended as an anti-bikeshedding tool.
I'm going to go against the tide here and point out that GraphQL APIs aren't normalized, but GraphQL caching implementations end up normalizing GraphQL responses, so that's a large amount of prior-art that says "no." There are also tools like normalizr to make (de)normalization simple on the frontend.
Related posts
- This is probably super easy for you guys, but how to I add to a nested array?
- Normalizr - How to generate slug/id related to parent entity
- How to define schema for recursive model with Normalizr
- Redux - multiple stores, why not?
- How do you handle an array of objects in JavaScript? Unless the way I'm using it is wrong, if I use built in JS functions like filter(), push(), map(), etc., oftentimes, it becomes too cluttered and prone to typo