lauti7 / simplechat-golang

Simple Chat built with Golang and React JS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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).

About

Simple Chat built with Golang and React JS


Languages

Language:JavaScript 68.7%Language:Go 17.8%Language:HTML 10.1%Language:CSS 3.4%