��# Basic-Backend
This is the backend based on MVC pattern for Basic, a chat room with Angular frontend and Golang + MySQL backend.
This project was generated in Go version 1.14.1.
Installation
This app:
go get github.com/vabshere/basic-backend
External packages:
golang.org/x/net/websocket
go get github.com/go-sql-driver/mysql
go get github.com/gorilla/mux
MySQL:
You will also need to install MySQL Server. This project was built using version 8.0
. Refer the offficial docs for installation.
Update connectDb()
function in basic/models/user.go
with your username and password.
Usage
Run go run /path/to/main.go
. This should start the local server on any interface :8080
.