Directory Structure for Modules in Venddor IO

For every module in Venddor IO, a specific directory structure is mandatory to ensure efficient functioning. Here's a comprehensive guide on how to organize your module's directories:

Primary Directory Structure

Essential Sub-directories

  1. controllers: This directory accommodates the module's controller files and can also include pre- and post-controller files of Venddor IO's standard controllers.
  2. schemas: This directory contains files that enhance the standard schemas of the platform.

Template Directories for Modules

In Venddor IO, modules can also employ additional directories to store template files:

Developer Flexibility

Developers have the liberty to create more subdirectories and files in this directory based on their unique requirements. However, it's crucial to maintain the naming and structural conventions parallel to the main Venddor IO application, adhering to the encryption standards.

By meticulously adhering to this structure, developers can seamlessly integrate new modules into Venddor IO, ensuring their efficient operation and interplay with the primary platform.