Skip to content

realtime-apps-iap/chat-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo Group Chat Application 💬

Demo Screenshot

About

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.

Features

  • 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

Deployment

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:login

If you want to create a new Heroku app to deploy to, navigate to the app’s directory and create a Heroku app:

$ heroku create

Alternatively, 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-name

Build the image and push to Container Registry:

$ heroku container:push web

Then release the image to your app:

$ heroku container:release web

IAP notes on deployment to Heroku

Article on deploying docker images to Heroku

About

Demo group chat room application in node.js for the Introduction to Realtime Web Apps Workshop for SUTD's Independent Activities Period (IAP) 2021.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors