A simple group chat room to demonstrate usage of the WebSockets protocol, the browser WebSockets API and the node.js WebSockets library, which enables the user to send and receive messages in real-time.
- Random (readable) username generated for users on login
- Display user's origin country
- Display usernames of all users in the room
- Notifications when a user enter / leaves the room
- Profanity filter - users cannot send messages containing profanity
A Heroku account and the Heroku CLI is needed to deploy this application to Heroku. Docker is also required.
Log in to container registry
$ heroku container:loginIf you want to create a new Heroku app to deploy to, navigate to the app’s directory and create a Heroku app:
$ heroku createAlternatively, if there is already a Heroku app you want to add this to, add the remote to the repository:
$ heroku git:remote -a your-app-nameBuild the image and push to Container Registry:
$ heroku container:push webThen release the image to your app:
$ heroku container:release web