Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

REST is simple and works well with debuggers, logging, caching, auth, request throttling e.t.c

For graphql like needs we use a standard set of props (select, filter, sortBy, limit, offset).

They map to a single sql statement and executed efficiently by PG.

select can be nested properties if we need deeper nesting. Server emits typescript types package for frontend.

It's worked really well so far at our scale. Eng team is fairly productive.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: