About This Tutorial
In the first half of this tutorial, you’ll learn about the fundamentals of WebSockets and you’ll build a real-time chat application using Django Channels. In the second half, you’ll learn how to deploy your app to a production environment in AWS and how to avoid common gotchas in future real-time chat apps you build.
Introduction (10 minutes)
- Introduction, outline, and goals for this tutorial.
Introduction to WebSockets (20 minutes)
- Why you should have WebSockets in your toolbox
- What are WebSockets?
- Advantages of WebSockets
- Limitations of WebSockets
- Who uses WebSockets
Intro to Django Channels (20 minutes)
Walkthrough - building a Real-time Chat application with Django Channels (45 minutes)
Getting ready to deploy with Daphne and NGINX (20 minutes)
AWS Crash Course (15 minutes)
Deploying Django Channels to Production (20 minutes)
Walkthrough - let’s go to prod! (1 hour)
Flex Time (remainder of time left)
We will be building a chat app using Python, Django, and Django Channels on the backend, and ReactJS on the frontend. We will deploy this application to an AWS Account.
Hi, I’m Cara! I’m a full-stack web developer and I love taking ideas from prototype to production - gnarly configs included. I’m passionate about empowering more women to become software engineers and to advance in their careers in tech. I currently serve as founder of Bytebase.io, the byte-size knowledge base.