Chatroom development with fastapi websocket
In this story, the process of developing a live chatroom with fastapi websocket and build it with docker and deploy it on heroku :))
This repository include all code, and docker files.
Chatroom class
This class handles that messages deliver to the member of the specified chatroom.
The APIS
This messenger has only one route that it has been benefits from websocket route for handling the real-time communication.
Deployment
This app has been built with docker and base image of mini-dev:
Deploy on heroku
First create a branch name heroku then by adding this work load, the application will automatically deployed based on these secrets:
Result
my wisper chat has been deployed here:
https://wisp.herokuapp.com/{chat room name}/{member name}