A small go app that offers a rest api to store greetings in and retrieve them from a db.
891
A small go app that offers a rest api to store greetings in and retrieve them from a db.
When using the docker image specify the postgres connection string in the environment variable GOGREETING_DATASOURCE.
It has some very simple url based endpoints that you can use directly from the browser.
Save a greeting for john:
localhost:8080/remember/john/greet_john
Return the greeting for john
localhost:8080/greet/john
Content type
Image
Digest
Size
34.4 MB
Last updated
over 5 years ago
docker pull useurmind/go-greeting