top
(README.md)
##Go/Gorilla for MEAN Stack developers part 1: HTTP routing

This is the code from the examples in my tutorial on learning HTTP routing in Go/Gorilla from Express.js, which you can `go get` with `go get github.com/AndyHaskell/gorilla-tutorial-1`.  The code is available in both Go and JavaScript.

To run the Go version of the server, run `go get github.com/gorilla/mux` if you don't have Gorilla mux and then from this directory run `go install` and `gorilla-tutorial-1`.  The server listens on port 1123.

To run the Node version, from this directory run `npm install` and then run `node server.js`.  The server listens on port 1123.

###Image credits
* The picture of the sloth is from Stefan Laube from Wikipedia and the picture is public domain.
* The picture of the lemur is from Alex Dunkel on Wikipedia and the picture is licensed under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/us/).  The only change made was to shrink the picture to be easier to work with in the examples.

Imports 1 package(s) ΒΆ

  1. github.com/gorilla/mux