TLDR Web Dev · ARTICLES & TUTORIALS

THE API DATABASE ARCHITECTURE - STOP WRITING HTTP-GET ENDPOINTS

fabianzeindl.com10 min read

Summary from the TLDR Web Dev newsletter

Instead of writing HTTP GET endpoints manually, it might be better to use a PostgREST server that directly exposes (with security enabled) database views and tables. This allows data modification to be handled by the existing backend. It also allows adjustments of HTTP-GET APIs through SQL views.