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.