Skip to content

isd-sgcu/johnjud-backend-old

Repository files navigation

Johnjud-backend

Johnjud-backend handles data management and business logic for the Johnjud project.

What is Johnjud?

Johnjud is a pet adoption web application of the CUVET For Animal Welfare Club

Stack

  • golang
  • gRPC
  • postgresql

Getting Started

Prerequisites

  • golang 1.21 or later
  • docker
  • makefile

Installation

  1. Clone this repo

  2. Copy every config.example.yaml in config and paste it in the same directory with .example removed from its name.

  3. Run go mod download to download all the dependencies.

Running

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

Testing

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

Other microservices/repositories of Johnjud