Skip to content

dionisvl/my.go.chat

Repository files navigation

My Go Chat

This is Websocket super simple chat.

  • MySQL
  • GoLang
  • Docker
  • JS/HTML/CSS
  • microservice edition

Route list

  • HOST:PORT/ - index page
  • HOST:PORT/ws - web socket listener

How to install

  • cp .env.example .env
  • docker-compose up --build
  • run migrations
  • Profit!

Migrations up

mig down

  • migrate -source "file://migrations" -database "mysql://root:password@tcp(localhost:3310)/chat" down

mig fix

  • migrate -source "file://migrations" -database "mysql://root:password@tcp(localhost:3310)/chat" force 4

About

websocket chat in go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published