pmokeev / web-chat

πŸ‰πŸ”₯πŸ‰ Web chat based on Golang and ReactJS, using WebSockets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Golang & ReactJS Chat

GolangCI

This is a Golang & ReactJS chat application powered by WebSockets, which provides the main functions: registration on the platform, sending messages to the general chat.

Installation

Create an .env file at the root of the project with the content:

JWTSecretKey=-//-
POSTGRES_USER=-//-
POSTGRES_PASSWORD=-//-
POSTGRES_DB=-//-

The application is packaged in docker containers. You must also have docker-compose installed in order to run the application. Command to run the application:

sudo docker-compose up -d

Features

  • Design with bootstrap
  • Registration with JWT token
  • Communication between the server and the client in the chat occurs thanks to WebSockets
  • Changing a user's password in a profile
  • Other awesome features yet to be implemented

To Do:

  • Emoji support
  • Possibility to create closed rooms
  • Private messages by command /msg [user]

License

MIT

About

πŸ‰πŸ”₯πŸ‰ Web chat based on Golang and ReactJS, using WebSockets

License:MIT License


Languages

Language:Go 61.2%Language:TypeScript 30.9%Language:HTML 4.2%Language:CSS 2.7%Language:Dockerfile 1.0%