codecombat/codecombat — pull request #340 by smoratinos (2014-02-04 23:00:09+00:00)
Title: server refactor db routes

routes/db no longer depends on mongoose and GridFs

We have 3 new files :
- mapping : centralize routes, handlers, and schemas path
- database : setup mongodb
- routes/base : setupRoutes

rename some variable :
example "winston" became "log", our code depends on behaviors, not a library.