Skip to content

Backend Configuration

The EZY WMS backend (ezy-wms-backend/Service) is configured through two mechanisms:

  1. appsettings.json — The main .NET configuration file controlling host settings, logging, database connections, JWT secrets, session management, licensing, SMTP, and background service parameters.

  2. Service/config/ folder — A set of YAML files that define business behavior, data handling, and UI surface area. These files are reloaded at service startup.

FilePurpose
appsettings.json.NET host, logging, database, JWT, sessions, licensing, SMTP, background services
config/Configurations.yamlMandatory. Core business options, data filters, warehouse mappings, SAP B1 connection details
config/CustomFields.yamlExtra item and document fields exposed in the UI
config/Item.yamlEditable item metadata definitions
config/Package.yamlPackage label, barcode, and metadata configuration
config/ExternalCommands.yamlXML/JSON exports triggered by events or manual buttons
config/PickingPostProcessing.yamlCustom .NET processors that run after picking operations

The Service/init/ folder contains default copies of all configuration files. These defaults are used to seed the Service/config/ folder on first run. During deployment, place your environment-specific overrides in Service/config/ — the init folder is not modified.

  • Reload on startup: All YAML configuration files are parsed when the service starts. Configuration changes require a service restart.
  • Case sensitivity: YAML is case-sensitive. Property names and enum values must match their definitions exactly.
  • No credentials in version control: Never commit real database passwords, API keys, SMTP credentials, or SAP B1 logons to the repository. Use environment variables or secure deployment practices to inject them at runtime.