A live view of trailheadapps/apex-recipes — Salesforce's official library of concise, meaningful Apex examples following best practices: async patterns, triggers, integration callouts, security, testing and more. Synced straight from GitHub, always current.
git clone https://github.com/trailheadapps/apex-recipes
A deployable Salesforce DX project — every class ships with tests and follows official best practices. Source: trailheadapps/apex-recipes on GitHub.