- docker
- docker-compose
- make
Open your terminal and type it:
docker compose up -d
# or when you already have the database setup
make app
To run test:
# when you already have the database setup
go test github.com/grootkng/clean-arch-golang/tests
# or
make test
To generate new version swagger:
swag init -g cmd/api/main.go
To access swagger: http://localhost:8080/swagger/index.html
And after that, the application should be running at localhost:8080
Check here the insomnia collection for the endpoints