Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/lauti7/simplechat-golang

Simple Chat built with Golang and React JS
https://github.com/lauti7/simplechat-golang

chat go golang reactjs websocket

Last synced: 23 days ago
JSON representation

Simple Chat built with Golang and React JS

Awesome Lists containing this project

README

        

# simplechat-golang
Simple Chat Application built with GoLang and ReactJS. It is a general chat that receive **join event**, **leave event**, **typing event** and of course **message event**

## How to run ?
1. Open your terminal and run: `cd $GOPATH`
2. After that, run: `git clone https://github.com/lauti7/simplechat-golang.git`
3. `cd simplechat-golang` & `cd src`
4. Then, run: `cd src` and run: `go run *.go`
5. Open a new terminal tab in project folder and run: `cd chatapp && npm start`

Once you're done, on port `:9000` is running Golang Backend and on port `:3000` is running React.

Golang is serving static files on ":9000/chat" route. You could run: `npm run build` and get access to the chat on `127.0.0.1:9000/chat` (or localhost).