Skip to content

screwyprof/payment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GopherPay

Gopher

A show case of DDD/CQRS/Clean Architecture

CircleCI Codecov Go Report Card Codebeat badge License: MIT GitHub tag (latest SemVer)

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

Getting API information (Swagger)

After starting the service type in your browser: http://localhost:8080/swagger/index.html