Skip to content Skip to sidebar Skip to footer

Build a Real Time Chat App With React + NestJS & GraphQL

Build a Real Time Chat App With React + NestJS & GraphQL

How to Build a Real-time Chat App with Next.js, GraphQL, and Server-Sent Events · 1. Create a new Next.js app · 2. Create a GitHub application ·

Enroll Now

What you'll learn

  1. Build & deploy a real-time messaging web application
  2. Implement JWT authentication on the backend & UI
  3. Use Material UI to develop a consistent & responsive UI
  4. Develop a GraphQL API for CRUD functionality
  5. Save data using MongoDB & the Abstract Repository pattern
  6. Execute automatic DB migrations
  7. Use Apollo Client to manage UI state & cache application data
  8. Use GraphQL WebSocket Subscriptions to publish & consume messages in real time
  9. Custom UI routing with React Router
  10. Use code generation tools to automatically generate types from GraphQL schema
  11. Implement server-side pagination to implement infinite scrolling
  12. Use MongoDB aggregation to perform single operation lookups & DB calls
  13. File upload to Amazon S3
  14. Production deployment to AWS all on free-tier
  15. Continuous Delivery & CI/CD
  16. Connect a Pub/Sub app to Redis to allow for distributed messages & horizontal scaling
  17. Connect a app to a custom domain & secure HTTPS traffic


  • Experience with Node/Express backends, preferably NestJS & TypeScript
  • Experience with building React UIs


In this course, we go beyond the documentation & small simple starter apps to build a real-world full-stack chatting application. This application is built from the ground up to be scaleable & production-grade. The goal of the course is for you to be comfortable developing full-stack web apps so you can develop your own afterward.

We use a NestJS backend, a popular Node.js library that allows us to quickly create clean-code HTTP APIs. Our CRUD functionality will be served by a GraphQL API that persists data using a MongoDB database. We'll use this same GraphQL API to create our messaging subscription which allows for WebSocket connection to our UI to facilitate messaging. Of course, everything will be secured with industry-standard JWT auth.

On the UI we will create a React App using the beautiful Material UI to easily create a responsive UI and interact with our backend. We'll choose Apollo Client for state management so we can easily interact with our GraphQL API & cache data.

Finally, all of this will be deployed onto AWS Elastic Beanstalk & Amplify. Backed by a continuous delivery CI/CD pipeline, whenever we push code our latest changes will get built & deployed to our environment of choice.

By the end of the project, you will have learned everything you need to get started in building & deploying your very own production-grade web apps!

Who this course is for:

  • Intermediate developers looking to learn best practices for building & deploying a scaleable, production grade web app
  • Intermediate developers looking to learn how to deploy a web app on AWS with continuous delivery

Courses to get you started -- > Build a Real Time Chat App With React + NestJS & GraphQL

Online Course CoupoNED based Analytics Education Company and aims at Bringing Together the analytics companies and interested Learners.