GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Sfeir/handsongo: Learning Go JSON REST microservice with Docker deployment and MongoDB persistence

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

59 Commits
59 Commits

Folders and files

NameName
Last commit message
Last commit date
dao
dao
 
 
doc/img
doc/img
 
 
etc
etc
 
 
model
model
 
 
statistics
statistics
 
 
utils
utils
 
 
vendor
vendor
 
 
web
web
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
CHANGELOG.md
CHANGELOG.md
 
 
Dockerfile
Dockerfile
 
 
Dockerfile.multi
Dockerfile.multi
 
 
Gopkg.lock
Gopkg.lock
 
 
Gopkg.toml
Gopkg.toml
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
docker-compose.yml
docker-compose.yml
 
 
handsongo.go
handsongo.go
 
 

Repository files navigation

HANDSONGO

Build Status GoDoc codebeat badge Software License

This project is meant to help learning go. It provides a basic implementation of a REST microservice exposing a CRUD API. Data are persisted in a MongoDB NoSQL database and the application is deployed in Docker.

Presentation

The slides from Devoxx2017 to get the handson done are available here.

Technical stack

  • Docker
  • MongoDB NoSQL database
  • Go is the language
  • Gorilla Mux the URL router
  • Urfave negroni Web HTTP middleware
  • Urfave cli the command line client parser
  • Sirupsen the logger
  • The MongoDB database driver
  • Dep the dependency manager
  • Golint the source linter

Architecture

main architecture

web architecture

Build

make help

About

Learning Go JSON REST microservice with Docker deployment and MongoDB persistence

Topics

apicontainerdatabasedockereducationgolanghandsonmicroservicemicroservicesmongodbrestrest-apirestful

Resources

Readme
Apache-2.0 license
Activity
Custom properties

Stars

31 stars

Watchers

5 watching

Forks

8 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.