I think the routing in that example is meant to be Sinatra-style routing for lightweight applications.
I also like the DB table creation code. ActiveRecord-type model delcarations are fine, but I'm interested in exploring Mongoose-type ORM, since I suspect it is more flexible in the long run.