Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/lauti7/simplechat-golang
- Owner: lauti7
- Created: 2020-06-16T23:04:10.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-07-12T20:34:35.000Z (over 4 years ago)
- Last Synced: 2024-11-05T17:58:27.235Z (2 months ago)
- Topics: chat, go, golang, reactjs, websocket
- Language: JavaScript
- Homepage:
- Size: 68.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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).