Skip to content

isd-sgcu/johnjud-file-old

Repository files navigation

Johnjud-file

Johnjud-file is a file service that can upload, download, and delete files for the Johnjud project.

What is Johnjud?

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

Stack

  • golang
  • gRPC
  • AWS S3
  • postgresql

Getting Started

Prerequisites

  • golang 1.21 or later
  • docker
  • makefile

Installation

  1. Clone this repo

  2. Copy 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 ./cmd/.

Testing

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

Other microservices/repositories of Johnjud