Home / Companies / Hasura / Blog / Post Details
Content Deep Dive

Building a realtime chat app with GraphQL Subscriptions

Blog post from Hasura

Post Details
Company
Date Published
Author
Rishichandra Wawhal
Word Count
895
Company Posts That Month
7
Language
English
Hacker News Points
-
Post removed?
No
Summary

In this tutorial, learn how to build a real-time group chat application using Hasura GraphQL Engine without writing any backend code. The focus is on data models stored in Postgres rather than full chat functionality. Key points include creating a user signup mutation, updating the last_seen value of users every two seconds, subscribing to new message events and only fetching new messages, sending messages by inserting rows into the messages table, and managing UI typing indicators and an online users list through subscriptions. A live demo is available at https://realtime-chat.demo.hasura.io/.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Real-time 7 1,155 322 122 +17%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.