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

Build a full-stack, scaleable, production grade web app following best practices. Includes continuous delivery on AWS.

  • 0.0 (0 Reviews)
  • 0 Students
  • 78 Lessons
  • Michael Guay

Course Overview

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!

See more

FAQ

FAQ area empty

Course curriculum

18 chương 78 bài học 14 giờ 7 phút 7 bài học thử miễn phí
Chương 1 Introduction
Chương 2 React UI Setup
  • Create React App & Material UI 6:09
  • React Router DOM & Auth UI 14:26
Chương 3 NestJS Backend Setup & Users GraphQL CRUD
  • NestJS Setup & Users Resource 13:34
  • Abstract Repository 12:19
  • Users Repository & GraphQL CRUD - Part 1 13:20
  • Users Repository & GraphQL CRUD - Part 2 13:19
  • Validation, Logging, & Config Cleanup 10:12
  • Database Migrations 11:23
  • Update User Bug Học thử 2:45
Chương 4 Apollo Client
Chương 5 Backend Authentication
  • Passport & Local Strategy 9:34
  • Apply Local Strategy 8:21
  • JWT Strategy - Part 1 11:54
  • JWT Strategy - Part 2 10:04
  • Apply GQL Auth Guard 7:35
Chương 6 UI Authentication
  • UI Login 7:37
  • Auth Validation - Part 1 11:01
  • Auth Validation - Part 2 13:27
  • Auth Guard 14:55
  • Logout Link 8:14
  • Auth Redirect 5:47
Chương 7 Header
  • Header - Part 1 16:56
  • Header - Part 2 6:36
  • Logout 6:41
  • Authentication State 9:03
Chương 8 Snackbar
  • Error Snack 14:29
Chương 9 Chat List
  • Chat List 11:22
  • Conditional Rendering 6:08
  • Add Chat Modal 14:11
  • Create Chat Backend 10:10
  • GraphQL Type Generation & Create Chat UI 14:30
  • Get Chats 8:30
  • Update Cache 4:47
  • Add Chat Cleanup 6:08
Chương 10 Chat UI
  • Chat UI - Part 1 10:10
  • Chat UI - Part 2 7:30
Chương 11 Messages
  • Create Message Backend 16:23
  • Create Message UI 6:44
  • Get Messages 11:21
  • Update Messages Cache 9:07
  • Messages UI 19:51
Chương 12 Responsiveness
  • Responsive UI 6:40
Chương 13 Subscriptions
  • Backend Subscriptions 14:16
  • UI Subscriptions 14:12
  • Subscription Auth & Context 17:59
  • Update Messages Cache 16:52
Chương 14 Aggregation
  • Messages Aggregation 16:00
  • Chats Aggregation 16:49
  • UI Entities 10:53
  • Latest Message Cache 7:37
  • Multiple Message Subscriptions 9:32
Chương 15 Pagination
  • Chats Backend Pagination 11:52
  • Chats UI Pagination 20:37
  • Messages Backend Pagination 6:00
  • Messages UI Pagination & Cleanup 17:06
Chương 16 File Upload
  • AWS Setup 10:03
  • Backend File Upload 23:11
  • UI File Upload 16:21
  • User Profile Image Backend 14:37
  • User Profile Image UI 7:20
Chương 17 AWS Production Deployment
  • AWS Branches
  • Amplify UI 9:49
  • Elastic Beanstalk 11:45
  • Code Pipeline CI/CD 17:07
  • MongoDB Atlas & App Updates 16:18
  • SSL Certificate 15:02
  • CORS & App Cleanup 23:55
  • Redis Pub/Sub 17:17
  • Custom Domain 20:53
Chương 18 Updates
  • Backend Updates: Mongoose, GraphQL & More 5:53
  • UI Updates: Vite & Latest Dependencies 10:43

Requirment

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

  • Experience with building React UIs

Outcomes

  • Build & deploy a real-time messaging web application

  • Implement JWT authentication on the backend & UI

  • Use Material UI to develop a consistent & responsive UI

  • Develop a GraphQL API for CRUD functionality

  • Save data using MongoDB & the Abstract Repository pattern

  • Execute automatic DB migrations

  • Use Apollo Client to manage UI state & cache application data

  • Use GraphQL WebSocket Subscriptions to publish & consume messages in real time

  • Custom UI routing with React Router

  • Use code generation tools to automatically generate types from GraphQL schema

  • Implement server-side pagination to implement infinite scrolling

  • Use MongoDB aggregation to perform single operation lookups & DB calls

  • File upload to Amazon S3

  • Production deployment to AWS all on free-tier

  • Continuous Delivery & CI/CD

  • Connect a Pub/Sub app to Redis to allow for distributed messages & horizontal scaling

  • Connect a app to a custom domain & secure HTTPS traffic

Instructor

...
Michael Guay

0.0

  • ... 0 Student
  • ... 3 Courses
  • ... 0 review

View Details

Reviews

Rate this course :

Remove all
Một sản phẩm của Công ty Cổ phần Thương mại Vạn Tín Việt·vantinviet.com