Powering React-based Dashboards using GraphQL and PostgreSQL
summary
Claims a practical stack: graphql-js, pg-promise and DataLoader to persist React component state into PostgreSQL. Builds a backend for React Music with tables for songs, sequencers and instruments, storing blobs in postgres JSONB, and demos adding instruments that play. Shows transforming GraphQL field selections into column lists to avoid SELECT *, uses DataLoader to batch and avoid N+1 queries, and sketches using Postgres LISTEN/NOTIFY for pushing updates; the demo runs and updates from the DB.
AI-written summary · about
chapters (8)
- 0:00Start
- 0:28State
- 2:18Picking a Database
- 3:42Postgres Is a Hundred Percent Open-Source Database
- 4:48React Music
- 6:34Postgresql
- 16:18Avoiding M plus 1 Queries
- 19:23Demo
related talks
45mBuilding Scalable APIs: PostgreSQL Meets GraphQL
26m@live GraphQL in Practice: Postgres-to-React Realtime Data Sync
24mThe Upsidedown Stack: React on the Server and Postgres in the Browser
09mGraphQL and React - Two Great Tastes that Taste Great Together
58mCrafting compelling real-time web experiences with GraphQL and React
01h 00mPowering the Front-end with React, GraphQL and Relay
18mCrafting compelling real-time web experiences with GraphQL
47mReact, Relay and GraphQL — a perfectly normal component approach
