Skip to content

About

Go CLI-based Chat Application using Gorilla Websocket

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

29 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Chat CLI-based Application

Go Chat CLI-based Application

Implemented chat application using Gorilla Websocket.

Table of Contents

General Information

A CLI-based chat application with Go

Requirements

  • Go
  • github.com/gorilla/websocket
  • golang.org/x/crypto

Prerequisites

Ensure that you're in the main branch

Clone this repository using the following command line (git bash)

$ git clone https://github.com/sivaren/go-cli-chat-app.git 

Run Program

Using Command-line

  • Open cmd on this folder and download dependencies

    go mod tidy
    go mod download
    
  • Run websocket server

    go run ./server
    
  • Open new terminal to run a client

    go run ./client
    

Using Docker

  • Open cmd on this folder and build Docker image

    docker build -t go-cli-chat-app .
    
  • Run websocket server

    docker run -p 8080:8080 go-cli-chat-app
    
  • Open new terminal to run a client

    go run ./client
    

Project Status

Project is: DONE (not fully implemented)

Functionality

Use Case Status
Broadcast Message Implemented
Direct Message (DM) Implemented
User Autehntication Implemented
User Join and Leave Chat Room Implemented
Users Create Chat Rooms Not Implemented
Store Messages Implemented
Error Handling Implemented
Docker Implemented

About

Go CLI-based Chat Application using Gorilla Websocket

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages