api

Edit

folder api contain all business logic layer except views, so it contain controller and model of MVC architecture.

the api module of using cli koa-cola new command include:

after the application is launched, these api modules will inject into app global, so that mean you can get these refer module by calling app.modulename.xxx like app.controllers.IndexController

there are other module that you can inject into app global if needed like: