Build a blog with Areto Node.js framework

Administration module

Easily develop and manage the different parts of an application using modules.

Blog's administration module

Create the module/admin directory in the root of the application. The file structure within the module can be equal to the structure of the application files. In fact, the module contains a sub application. The module can have its own configuration, inherit or create components that contain child modules.

Append the modules section with the admin module in the application configuration. Now all administrative actions will be available at /admin/{controller}/{action}.


module.exports = {
  modules:  {
    'admin': {}