Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nwaywood/gowiki
Extension of golang.org "Writing Web Applications" codewalk
https://github.com/nwaywood/gowiki
Last synced: 1 day ago
JSON representation
Extension of golang.org "Writing Web Applications" codewalk
- Host: GitHub
- URL: https://github.com/nwaywood/gowiki
- Owner: nwaywood
- Created: 2015-03-18T05:13:42.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-03-30T00:28:20.000Z (over 9 years ago)
- Last Synced: 2023-02-28T16:53:07.845Z (over 1 year ago)
- Language: Go
- Size: 156 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gowiki
Extension of golang.org's [Writing Web Applications](http://golang.org/doc/articles/wiki/) codewalkThis is my first Go project. After I completed [A Tour of Go](http://tour.golang.org/welcome/1) I worked through the [Writing Web Applications](http://golang.org/doc/articles/wiki/) codewalk.
To learn more about Go I have decided to extend the codewalk solution.
The **current** extensions are:
- Dependency management with [nut](https://github.com/jingweno/nut)
- Using [MongoDb](http://www.mongodb.org/) (via [mgo](http://labix.org/mgo)) instead of using files
- Using [mux](http://www.gorillatoolkit.org/pkg/mux) router to parameterise url, enforce http method types and subrouters
- Using [negroni](https://github.com/codegangsta/negroni) to mount generic and subrouter specific middlewareFuture planned extensions are:
- make home page display list of wiki pages
- add unit tests## Setup
- Setup mongoDB
- Install nut dependency manager: `go get github.com/jingweno/nut`
- Install dependencies: `nut install` from project directory## Usage
- Start mongo: `mongod`
- Compile and run app: `go install gowiki && gowiki`