Nodea software and also generated applications are nodejs application bases on ExpressJs framework. We therefore invite you to learn directly about it directly from Express.js website
The objective of this tutorial is to explain the architecture of an application generated with Nodea.
When an application is created with Nodea Software, the code source is made of three main parts :
Here is a simplified diagram of the source code organization for an application generated with nodea software. Please note that there are more subfolders and more configuration files than displayed in this diagram.
At the root of your application folder you will find these files:
node server.js
)In this folder you will find all the application configuration files.
For more information: Configuration
In this folder is the Nodea application core set, these are files maintained by the Nodea team and must not be modified in any way!
Modifying elements in this folder amounts to accepting that it will not be possible to upgrade this application.
The app folder represents the "custom" part of an application. It is in this folder when all the additions to an application must be applied. The app file aims to provide all the tools to customize and configure the application with as much flexibility as possible.
As detailed in the Route section, the objective is to always leave the possibility of override the native behavior in case the tools (hook) provided are not sufficient.