Skip to content

isd-sgcu/golang-backend-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  1. Clone the project from Goland Backend
  2. Import project
  3. Copy app.example.yaml in config and paste it in the same location then remove .example from its name.
  4. Download dependencies by go mod download

Testing

  1. Run go test -v -coverpkg ./src/internal/... -coverprofile coverage.out -covermode count ./src/internal/... or make test

Running

  1. Run docker-compose up -d or make compose-up
  2. Run go run ./src/. or make server

Compile proto file

  1. Run make proto

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages