Skip to content

Latest commit

 

History

24 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snapp Chat

Snapp Chat is a real-time chatroom application built using Go (version 1.22.0). It leverages NATS JetStream for messaging and PostgreSQL for data storage. The project consists of a client and server, allowing users to communicate seamlessly in a chatroom environment.

Features

  • Real-time messaging using NATS JetStream
  • Persistent message storage with Jetstream storage
  • Chat history
  • Client-server architecture
  • Easy to set up and run using Docker Compose

Technologies Used

  • Go 1.22.0
  • NATS JetStream
  • PostgreSQL
  • Docker & Docker Compose

Usage & Installation

  • Fill the config.json files for both client and server. You can check the samples in each directory.
  • Download the client from releases page
  • Run the server using docker-compose -f server-docker-compose.yml up in the project directory
  • You can also download a NATs server and run nats-server-c nats-server.conf & then run the binary version of the server in the releases page. Make sure you have your Postgresql database set.

Commands

  • #users shows the online user count inside a room
  • #leave lets you leave from the current room

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages