Project structure

    • : contains files used to build your admin panel.
    • /admin: (optional) contains your admin customization files.
    • /api: contains the business logic of your project split into sub-folders per API.
      • **
        • /config: contains the API’s configurations (, policies, etc.).
        • : contains the API’s custom controllers.
        • : contains the API’s models.
    • /build: contains your admin panel UI build.
      • /functions: contains lifecycle or generic functions of the project.
        • : contains custom responses.
          • 404.js: contains a template for constructing your custom 404 message.
        • bootstrap.js: contains the code executed at the application start.
        • : contains the cron tasks.
      • database.js: contains the database configurations of the project.
    • /extensions: contains the files to extend installed plugins.
    • : contains the custom hooks of the project.
    • /middlewares: contains the custom middlewares of the project.
    • : contains your local plugins.
    • /public: contains the files accessible to the outside world.
    • : contains the npm packages used by the project.