Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/djjjonas/go-chat

Chat application made in Golang
https://github.com/djjjonas/go-chat

Last synced: 13 days ago
JSON representation

Chat application made in Golang

Awesome Lists containing this project

README

        

# Go chat

## Images

**This is a simple chat application made in Golang with [Websocket](http://github.com/gorilla/websocket)**

*Chatting*
​![chatting](https://user-images.githubusercontent.com/48167880/192554459-d3819700-30d9-4f44-b4cb-62ea833cd31d.png)

*Three chats*
![chat-demo](https://user-images.githubusercontent.com/48167880/192554506-1150683c-b3c5-4efa-9671-f37ce245ac37.png)

## How to run

### Requirements

- Go >= 1.12
- Any browser

### Running the backend

After navigating to the backend folder, use the command `go run main.go` and the server should return the message`Listening on localhost:8080 👂`

### Running the frontend

After navigating to the frontend folter, double-click the `index.html` file

sorry for the eye-bleeding `script.js` file