Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rafaelsouzaribeiro/go-chat-with-mqtt

Go chat with MQTT, implementing user registration, login, logout, online and offline user listing, and message sending.
https://github.com/rafaelsouzaribeiro/go-chat-with-mqtt

cassandra chat clean-architecture gin-gonic golang html-css-javascript mqtt-broker mqtt-websocket session user-offline user-online websocket

Last synced: 2 days ago
JSON representation

Go chat with MQTT, implementing user registration, login, logout, online and offline user listing, and message sending.

Awesome Lists containing this project

README

        

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.