This guide will help you set up a and run this project.
this is application for simulate database transaction between two database in Golang for candidate Hafid Abi D.
Before proceeding, make sure you have the following installed on your system:
- Go: Official Installation Guide
- PostgreSQL: Official Downloads
- REST API with gin
- GORM ORM
- Dependency injection (not yet implement wire for enhance Dependency Injecton process)
- Swaggo for documentation
copy config.json.example into config.json then
go build -o main && ./main
or you can use docker to run the app
docker-compose up