Skip to content

Chat application with MQTT and Cassandra, implementing user registration, login and logout, emoji support, an online/offline user list, message sending, message counters, and alert notifications using Go, HTML, CSS, JavaScript, and HTML5.

Notifications You must be signed in to change notification settings

rafaelsouzaribeiro/go-chat-with-mqtt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat application with MQTT and Cassandra, implementing user registration, login and logout, emoji support, an online/offline user list, message sending, message counters, and alert notifications using Go, HTML, CSS, JavaScript, and HTML5.


To create the keyspace and tables in Cassandra, just run the following Makefile commands in the project root:

Create KeysPace: make create-keyspace
Create tables: make migrateup
Drop tables and keyspace: make migratedown

If you don't have make installed, install it with the following command:

sudo apt install make

To run Cassandra in Docker, navigate to the internal/infra/database/cassandra directory and run:

sudo docker compose up

Also, access the website here.