~/talk

Accelerating API Development in PostgreSQL with PostgREST

Talkat PiterPy 2024 · 2024-09-18..09-27· [databases, api-design]
slides:none on file

PostgREST + PostGIS runs from Docker, pgAdmin, Swagger and Postman to turn a PostgreSQL schema into live REST endpoints so developers create CRUD endpoints automatically and get filtering, ordering, pagination, CSV/GeoJSON output and computed fields without backend code. The demo builds a web_anon role, a todos table and grants select, loads shapefiles (countries, ports) via QGIS, and adds a find_country_by_coordinates function exposed as an RPC; it works after granting table permissions and restarting PostgREST. Production note: scaled to ~200k users with standard indexing and vacuuming.

AI-written summary · about

  1. 0:00Introduction to workshop
  2. 5:43What is PostgREST
  3. 12:24Setting up environment
  4. 20:21Configuring anonymous access
  5. 38:31Querying and filtering data
  6. 42:27Authentication and roles
  7. 49:45Using PostGIS with PostgREST
  8. 1:09:14Creating custom functions
  9. 1:19:11Security and testing
  10. 1:24:30Q&A and closing
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.