Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pmokeev/web-chat
🐉🔥🐉 Web chat based on Golang and ReactJS, using WebSockets
https://github.com/pmokeev/web-chat
docker docker-compose gin go golang postgresql react rest-api webchat
Last synced: about 1 month ago
JSON representation
🐉🔥🐉 Web chat based on Golang and ReactJS, using WebSockets
- Host: GitHub
- URL: https://github.com/pmokeev/web-chat
- Owner: pmokeev
- License: mit
- Created: 2022-01-28T08:19:28.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-02-15T07:40:22.000Z (almost 3 years ago)
- Last Synced: 2023-05-09T17:41:57.112Z (over 1 year ago)
- Topics: docker, docker-compose, gin, go, golang, postgresql, react, rest-api, webchat
- Language: Go
- Homepage:
- Size: 698 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Golang & ReactJS Chat
[![GolangCI](https://github.com/pmokeev/web-chat/actions/workflows/GolangCI.yml/badge.svg?branch=master)](https://github.com/pmokeev/web-chat/actions/workflows/GolangCI.yml)
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.
![](https://i.ibb.co/RBkGfcF/1.jpg)
![](https://i.ibb.co/jvD55fS/2.jpg)
![](https://i.ibb.co/1z3KRb0/bz-Nw1-MWA5s4.jpg)## Installation
Create an .env file at the root of the project with the content:
```environment
JWTSecretKey=-//-
POSTGRES_USER=-//-
POSTGRES_PASSWORD=-//-
POSTGRES_DB=-//-
```The application is packaged in [docker](https://www.docker.com/) containers. You must also have docker-compose installed in order to run the application. Command to run the application:
```bash
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](https://choosealicense.com/licenses/mit/)