A Go API, backed by Redis, to manage coupons, promotional codes and referrals.
This project requires Go to be installed. On OS X with Homebrew you can just run brew install go
.
Redis is, ofc a dep. You can easily get redis running using docker-compose:
docker-compose up -d redis
Running it then should be as simple as:
$ make build
$ ./bin/goCoupon
Docker-compose is a testing dep. Running the tests should be simple as:
make test