Skip to content

envimate/gomongo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

golang mongo http server example

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published