How amitastreait/flow-demos works
Project type and purpose
• This is a Salesforce DX project that packages Salesforce “metadata” for deployment to a Salesforce org. It includes declarative assets (Flows, Custom Metadata, Objects), programmatic Apex (classes & triggers), and a UI layer built with Lightning Web Components (LWC) and Aura.
File structure
• At the root you have configuration files (sfdx-project.json, scratch-org definitions, CLI ignores, Husky hooks, Jest config).
• The force-app/main/default folder holds the Salesforce metadata organized by type:
• classes – Apex business logic and unit tests
• triggers – trigger definitions that invoke your Apex framework
• lwc & aura – Lightning Web Components and Aura components (UI layer)
• flows & flowDefinitions – declarative Flows and their metadata
• objects – Custom object schemas (Student__c) and Custom Metadata types (Trigger_Handler__mdt)
• staticresources – JS/CSS resources for front-end widgets
• Supporting scripts in scripts/ (example Apex scripts, SOQL queries).
• A manifest package.xml for packaging the entire app.