Simple REST API that follows the Clean Architecture Principles
- Independent of Frameworks
- Independent of Databases
- Independent of UI
- Independent of any external agency
- Testable
docker run --name postgres-database -p 5432:5432 -e POSTGRES_USER=tux -e POSTGRES_PASSWORD=mysecretpassword -e POSTGRES_DB=blog -d postgres
go run .
go test service/post-service.go service/post-service_test.go -v