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
- Open your terminal and run:
cd $GOPATH
- After that, run:
git clone https://github.com/lauti7/simplechat-golang.git
cd simplechat-golang
&cd src
- Then, run:
cd src
and run:go run *.go
- 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).