Goland backend template
Stacks
- golang
- gRPC
- mysql
- redis
- rabbitmq
Getting Start
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Prerequisites
- golang 1.19 or later
- docker
- makefile
Installing
- Clone the project from Goland Backend
- Import project
- Copy
app.example.yaml
inconfig
and paste it in the same location then remove.example
from its name. - Download dependencies by
go mod download
Testing
- Run
go test -v -coverpkg ./src/internal/... -coverprofile coverage.out -covermode count ./src/internal/...
ormake test
Running
- Run
docker-compose up -d
ormake compose-up
- Run
go run ./src/.
ormake server
Compile proto file
- Run
make proto