This web service fundamentally uses the hexagonal architecture pattern, which is a framework that is part of my personal portfolio in developing a web service and its various supporting components. This architecture has unique dependencies in its usage, such as the adapter-port method which directly abstracts the working basis of this structure.
If want running locally, install first dependencies:
make clean && make install
run app using Makefile:
make start
or run migration file using :
go run main.go db:migrate up
**notes:
Please create file on (conf/app.yaml) copy from app.example.yaml & create database first on local
Run using docker:
docker compose -f deploy/docker-compose.yaml up -d
Name | Version | Status |
---|---|---|
Go | 1.21.1 | ✓ |
Postgres | 1.16.3 | ✓ |
Docker | 26.1.3 | ✓ |