Skip to content

MateoCaicedoW/sse-simple-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple SSE Chat Application

This is a simple chat application that uses Server-Sent Events (SSE) and HTMX to create a chat application. Allows multiroom chat. So far, the app has only two rooms: Friends and Family and the messages are not persisted.

This app is built using the following technologies:

Features

  • Multiroom chat
  • Real-time chat
  • Simple and easy to use

Video Demo

Screen.Recording.2024-09-20.at.5.28.26.PM.mov

Running the app

To run the app, you need to have Go installed on your machine. You can download Go from here.

After installing Go, you need to install kit, which is the CLI tool for Leapkit. You can install kit by running the following command:

go install github.com/leapkit/leapkit/kit@latest

After installing kit, you have to install the dependencies for the app and set up. You can do this by running the following command:

go mod download
go run ./cmd/setup

After setting up the app, you can run the app by running the following command:

kit s

This will start the app on http://localhost:3000.

Contributing

Contributions are welcome. Feel free to open an issue or a pull request.