Setting up environment / installing dependencies

  1. Install Golang
$ brew install golang@1.16
  1. Install Nodejs + NPM
$ brew install golang@1.16
  1. Install MySQL Server
$ brew install mysql
  1. Create Database in MySQL
mysql> CREATE DATABASE mese_db;

Build/Compile Vue

$ npm run build

Run Go Gin-Gonic Backend

$ go run main.go

Development with hot reload

  1. Run Go backend
$ go run main.go
  1. Run Vue with hot reload enabled
$ npm run serve

Configuration Files

Vue

vue.config.js

Go & Vue

.env .env.production