Skip to content

umsu2/golang_simplechat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

golang_simplechat

creating a simple chat app through golang

view demo at:

www.rubberducklings.com

how to run the app locally:

  • install docker, docker-compose
  • docker-compose build
  • docker-compose up
  • goto localhost

how to setup dev environment:

  • sudo vim /etc/hosts
  • add record - 127.0.0.1 app
  • install nginx locally, add a config in sites-enabled config defined in nginx.conf
  • or just overwrite local nginx.conf with nginx.conf

#todos

functionalities v1.0:

  • users can switch chat rooms
  • if last user leaves a chatroom, it will disappear, except for public room
  • easier emoji access, user can see all available emojis
  • user joins or leaves a room, msg will broadcast to the users in the room
  • a user list, where the chatroom shows who is inside the room
  • Private msg between users future release
  • once ws timeouts, indicate timeout and button to reconnect
  • nginx ws no socket timeout
  • when user joins they see previous n (5?) chat msg if available future release
  • add debugging logs
  • some chat logging into db
  • secure, wss and https on nginx

deployment: -might do in the future

  • git commit triggers build.
  • auto deployment.

About

creating a simple chat app through golang

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published