An Amazon affiliate website written in Go using the Amazon product advertising API. It was available at yepiwantthis.com for a short time.
The website got rejected by Amazon (more info on my blog) so I decided to host the source code on GitHub to be able to demonstrate my Go skills when applying for Go projects.
Just run it and see for yourself :)
$ go get github.com/dominicphillips/amazing
$ go get github.com/kennygrant/sanitize
$ go get github.com/gorilla/mux
$ go get github.com/gosimple/slug
$ go run website.go amazonstore.go store.go
Now open localhost:3000 in your browser.
The products are stored in the amazonstore.json
file and loaded into memory on
start. The file was generated by running the amazonstore_test.go
test (it
doesn't work anymore because I removed the API credentials). The file was last
generated on March 27, 2015.
The website uses just one html/template template.