Build a blog with Areto Node.js framework

Application class

Create a module.js file in the root of the project.

It defines the main application class that inherits from the areto/base/App framework class.


const Base = require('areto/base/App');
class Blog extends Base {
module.exports = new (Blog.init(module));

The single Blog instance is created and exported in the last line of this file.