Skip to content

Latest commit

 

History

History
35 lines (18 loc) · 611 Bytes

README.md

File metadata and controls

35 lines (18 loc) · 611 Bytes

gomongo

Simple example implementation of an HTTP service connected to mongodb.

Used in the blog posts:

Startup

requirements

To run this example you need to have

  • docker 1.9+
  • docker-compose 1.6.+

To see it in action, check it out

git clone [email protected]:envimate/gomongo.git

cd gomongo

Then run using docker-compose

docker-compose -f docker/docker-compose.yml up -d

By default port 80 is mapped so you should see:

curl http://localhost:80/test

got request /test