GopherPay
A show case of DDD/CQRS/Clean Architecture
Getting help
make help
Building Docker Image
make docker-build
Running service in Docker
make docker-run
Building Locally Quickly
To build the application, run tests and install it on a local machine just run the following:
make
Otherwise you can do it manually by running the commands from the sections below.
Installing dependencies
make deps
Running unit-tests
make unit-test
Running integration-tests
make integration-test
Building the application
make build
Installing application
The following command will install the application to $GOPATH/bin
Note: Don't forget to add $GOPATH/bin to your $PATH
make install
Running the application
If the application was installed correctly just run:
gopherpay
Exploring the Examples
Just look at the example folder
After starting the service type in your browser:
http://localhost:8080/swagger/index.html