Write Go GIN RESTful API Service include below Condition (Push to Github) ・HR System Backend API ・MySQL as Database ・Redis as Cache ・GORM Migration ・GORM MySQL SEED data ・Unit Test ・Makefile for build and deploy ・Run all service using docker-compose
# run depend services
docker-compose up -d
# run server
go run cmd/main.go
Web Server will run on http://localhost:8080
# all
go test -v ./...
# single
go test -v ./{file}
# build
docker build -t fliqt .
# run
docker run --rm -p 8080:8080 --name fliqt fliqt