echo-rest-api icon indicating copy to clipboard operation
echo-rest-api copied to clipboard

🔥 Clean architecture REST API by Go/Echo

# create module
go mod init go-rest-api
# start db
docker compose up -d
# remove db
docker compose rm -s -f -v
# start app
GO_ENV=dev go run .
# run migrate
GO_ENV=dev go run migrate/migrate.go

Architecture of REST API (Go/Echo) application