Adam Fortuna on Nostr: In the early days of Hardcover I made some technical designs to generate really ...
In the early days of Hardcover I made some technical designs to generate really complex GraphQL that hits the API directly and skips Rails.
The idea was that it would be more scalable since it was just hitting a database and no backend (other than Hasura).
I'm switching many of those actions to just hit Rails - focusing on one to save dates read. Rather than hitting 3 separate endpoints (insert, update, delete). It'll now be just one upsert endpoint in rails that handles it all.
The idea was that it would be more scalable since it was just hitting a database and no backend (other than Hasura).
I'm switching many of those actions to just hit Rails - focusing on one to save dates read. Rather than hitting 3 separate endpoints (insert, update, delete). It'll now be just one upsert endpoint in rails that handles it all.