Sign inSign up

useurmind/go-greeting

By useurmind

•Updated over 5 years ago

A small go app that offers a rest api to store greetings in and retrieve them from a db.

Image
0

891

useurmind/go-greeting repository overview

⁠go-greetings

A small go app that offers a rest api to store greetings in and retrieve them from a db.

⁠Docker image

When using the docker image specify the postgres connection string in the environment variable GOGREETING_DATASOURCE.

⁠Endpoints

It has some very simple url based endpoints that you can use directly from the browser.

⁠remember

Save a greeting for john:

localhost:8080/remember/john/greet_john
⁠greet

Return the greeting for john

localhost:8080/greet/john

Tag summary

Content type

Image

Digest

Size

34.4 MB

Last updated

over 5 years ago

docker pull useurmind/go-greeting