- Update the value of the environment variables in
docker-compose.yaml
. - Copy the file
env.sample
to a new file.env
. Update the configuration to your need.
- Running the PostgreSQL container:
make db-up
- Build the Go binary and run:
make run
-
Ping:
GET api/v1/auth/ping
{ "code": 200, "message": "User route is reachable", "data": null }
flowchart TD
A(User Request)
B[(PostgreSQL)]
A --> |HTTP| a[Transport Layer]
a --> |App business logic| b[Service Layer]
b --> |Database communication| c[Repository]
c --> B