~/talk

My entire stack is in my Postgres DB and a few power tools for my backend

TalkinFrenchat DevFest Toulouse 2025 · on Thursday, 2025-11-13· [databases, developer-experience]
links:none on file
slides:none on file

A backend architecture that keeps the entire stack inside PostgreSQL: schemas define models and views, PostgREST exposes the views as a REST API, and an OpenResty/Nginx OIDC proxy injects user context via headers for RLS. The system uses PostgREST + RLS with header-based policies for per-user reads, triggers and PL/Python functions for inserts, Stripe calls and synchronous PDF generation, and n8n listening to DB events for asynchronous work; deployments are reported at scale (largest ~330M users) with smooth reloads via NOTIFY, while migrations/versioning remain the main pain point.

AI-written summary · about

  1. 0:00Postgres stack intro
  2. 2:34Backend architecture problems
  3. 6:23Mainframes and DBMS revisited
  4. 8:08All-in-Postgres architecture
  5. 10:14PostgREST deployment
  6. 11:38Keycloak auth with OIDC
  7. 15:50Swagger UI with auth
  8. 16:32APIs via views and schema
  9. 18:18Row-level security with RLS
  10. 20:48Complex view inserts
  11. 24:21PL/Python for business logic
  12. 27:31PDF generation and Stripe
  13. 29:38Dev environment with PGAdmin
  14. 31:43Zero-downtime deployment
  15. 32:25Async processing with N8N
  16. 35:53Postgres + N8N stack
  17. 36:37Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.