From models to hosted OpenAPI Specification (OAS)

  Рет қаралды 449

PostgresConf South Africa

PostgresConf South Africa

4 жыл бұрын

Karel van der Walt
PostgresConf South Africa 2019
postgresconf.org/conferences/...
Translate a data model of a domain into a hosted, fully functional OpenAPI Specification (OAS)
with minimal coding by integrating PostgreSQL with PostgREST and NGINX.
This presentation goes beyond a trivial CRUD (Create/Read/Update/Delete) API reflected from the schema,
to a State Model of a domain entity and its life cycle. It is rather the PostgreSQL functions
achieving the state transitions in the entity life cycle, that are exposed as idempotent API endpoints.
Hence the API is realised entirely in
PL/pgSQL coding and
configuration of PostgREST and NGINX.
Each API endpoint emits a JSON document assembled via PostgreSQL JSON functions, representing the domain entity in its current state.
The emitted JSON document is manipulated and presented to the next API endpoint as determined by the required state transition.
API Requests are authenticated via JSON Web Tokens (JWT).

Пікірлер
Basic understanding of EXPLAIN ANALYZE
36:08
PostgresConf South Africa
Рет қаралды 25 М.
Temporal Journey
40:38
PostgresConf South Africa
Рет қаралды 684
Smart Sigma Kid #funny #sigma #comedy
00:40
CRAZY GREAPA
Рет қаралды 33 МЛН
Double Stacked Pizza @Lionfield @ChefRush
00:33
albert_cancook
Рет қаралды 118 МЛН
Is JSONB a Silver Bullet
31:15
PostgresConf South Africa
Рет қаралды 1,7 М.
PostgreSQL/PostGIS devops with Docker and Rancher
35:53
PostgresConf South Africa
Рет қаралды 1,9 М.
API vs. SDK: What's the difference?
9:21
IBM Technology
Рет қаралды 1,4 МЛН
Optimising full-text queries in the amaGama translation memory server
39:58
PostgresConf South Africa
Рет қаралды 251
🚀  TDD, Where Did It All Go Wrong (Ian Cooper)
1:03:55
DevTernity Conference
Рет қаралды 556 М.
Shadow Tables vers PGAudit
40:29
PostgresConf South Africa
Рет қаралды 1,7 М.
Event Stores and Postgres
36:39
PostgresConf South Africa
Рет қаралды 2 М.
I've been using Redis wrong this whole time...
20:53
Dreams of Code
Рет қаралды 347 М.
Designing for Accessibility
41:34
PostgresConf South Africa
Рет қаралды 108
Effectively securing your PostgreSQL database
40:23
PostgresConf South Africa
Рет қаралды 8 М.