Johnjud-auth is a user authentication and authorization service for the Johnjud project.
Johnjud is a pet adoption web application of the CUVET For Animal Welfare Club
- golang
- gRPC
- postgresql
- redis
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- golang 1.21 or later
- docker
- makefile
- Clone this repo
- Import project
- Copy
config.example.yaml
inconfig
and paste it in the same location then remove.example
from its name. - Download dependencies by
go mod download
- Run
docker-compose up -d
- Run
go run ./cmd/.
ormake server
- Run
go test -v -coverpkg ./internal/... -coverprofile coverage.out -covermode count ./internal/...
ormake test
- Johnjud-gateway: Routing and request handling
- Johnjud-auth: Authentication and authorization
- Johnjud-backend: Main business logic
- Johnjud-file: File management service
- Johnjud-proto: Protobuf files generator
- Johnjud-go-proto: Generated protobuf files for golang
- Johnjud-frontend: Frontend web application