https://github.com/dingo/api/wiki/Basic-Tutorial