Skip to content

Comdex/go-martini-mgo-demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-martini-mgo-demo

A simple CRUD app in golang and mongodb using martini, mgo and godep.

Demo

For the reloading of source files, I am using gin

Installation

For development, you can just clone the repo and run

$ go get && go install && PORT=7000 DEBUG=* gin -p 9000 run

Then visit localhost:9000

If you just want to run it and see then

$ go get github.com/madhums/go-martini-mgo-demo
$ PORT=7000 go-martini-mgo-demo # should start listening on port 7000

you can also specify MONGODB_URL env variable and it will connect to it.

Todo

  • Add features like content negotiation
  • Image uploads
  • REST API
  • vendor experiment

Thanks to go-martini, go-mgo and godep

About

A simple CRUD app in golang and mongodb using martini, mgo and godep

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 91.5%
  • CSS 8.5%