Skip to content

A real time chat built with gorilla websocket library and vanila Javascript and Golang

Notifications You must be signed in to change notification settings

Leonardo404-code/real-time-chat-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Real time chat app

chat-videoo.mp4

Full-stack real-time chat application, using only the Gorilla Websocket library for two-way communication and native concurrency and multi-threading modules from Go!

How to run

Requirements

  1. Golang 1.18 or later

Clone project

git clone git@github.com:Leonardo404-code/real-time-chat-app.git

Download the project dependencies

Inside root directory, run:

go mod vendor

Execute the application

Inside root directory, run:

go run cmd/server/main.go

Open the browser at: http://localhost:8080 and watch it happen 😉

Test

  1. Setup the environment variables listed below
  2. Inside root directory, run:
go test ./... -v

You should see messages like:

test output

About

A real time chat built with gorilla websocket library and vanila Javascript and Golang

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published