@live GraphQL in Practice: Postgres-to-React Realtime Data Sync
summary
A Postgres-to-React realtime pipeline is built end-to-end: ESP32 devices send MQTT to a Node broker, messages persist in Postgres, Postgres triggers use Postgres LISTEN/NOTIFY to invalidate live queries, and a custom useLiveQuery hook with Apollo and a Prisma-style GraphQL query builder pushes low-latency updates to React. The production rig runs on four deployed units with 216 crop spots each, moved from polling/subscriptions to server-sent-events live queries and incremental adoption across apps.
AI-written summary · about
chapters (6)
- 0:00Introduction and project overview
- 3:12Current system architecture challenges
- 8:09Designing the new real-time system
- 12:44GraphQL ORM implementation details
- 18:25System limitations and future steps
- 21:55Next steps and open source call
related talks
45mBuilding Scalable APIs: PostgreSQL Meets GraphQL
28mPowering React-based Dashboards using GraphQL and PostgreSQL
58mCrafting compelling real-time web experiences with GraphQL and React
24mRealtime React Apps with GraphQL
21mLive-coding demo
26mEverything You Need to Know About GraphQL in 3 Components
18mCrafting compelling real-time web experiences with GraphQL
09mGraphQL and React - Two Great Tastes that Taste Great Together
