Skip to content
@trailheadapps

Salesforce Developers Sample Apps

Sample Apps for Salesforce Developers

Salesforce Developers Sample Apps

These sample apps show what you can build on the Salesforce platform and are continuously updated to incorporate the latest features and best practices. As reference apps, they are not intended for production, but are a great way to learn.

Brought to you by the Salesforce Developers team!

Trailhead Badge

Get an overview of our Sample Apps with a Trailhead badge or with a short video series.


Repository image

Description and Features

Sample retail application. This application helps E-Bikes, a fictitious electric bicycle manufacturer, manage their products and reseller orders using a rich User Experience. Explore this application, that also integrates with Experience Cloud, and learn how to build rich User Experiences with Lightning Web Components using different data access strategies.

Features

Lightning Web Components, Apex, Experience Cloud, Lightning Data Service, Lightning Message Service, UTAM tests

Trailhead Content
Repository image

Description and Features

A collection of easy-to-digest code examples for Lightning Web Components. Each recipe demonstrates how to code a specific task in the fewest lines of code possible, while following best practices. A View Source link takes you right to the code in GitHub. From Hello World to data access and third-party libraries, there is a recipe for that!

Features

Lightning Web Components, Lightning Data Service, Lightning Message Service, Navigation, @wire, Composition, Events, 3rd Party Libraries

Trailhead Content
Repository image

Description and Features

Sample car sales and service application. Pulsar is a fictitious electric car manufacturer company. This application helps Pulsar to sell cars on-site, and through their customer-facing website. Event-driven patterns allow to build loosely coupled integrations using multiple programming languages and systems. Regardless of the industry you work in, this app demonstrates how to build rich and immersive user experiences with the connected compute and runtime capabilities of the Salesforce Platform.

Features

Lightning Web Components, Heroku, Kafka, MQTT, Change Data Capture, Progressive Web App

Repository image

Description and Features

A collection of easy-to-digest code examples demonstrating Apex best practices. Each Recipe demonstrates how to code a specific common task while adhering to best practices. The UI allows you to browse the code, associated tests, and documentation about the recipes all in a convenient, in-org browser.

Features

Apex, Security, REST, Asynchronous Apex, Integrations, Triggers, Platform Events, Platform Cache

Trailhead Content
Repository image

Description and Features

Sample real estate application. Dreamhouse is a fictitious real estate company. This application helps Dreamhouse brokers manage their properties and their customers. Brokers can also use the application on the Salesforce mobile app to help manage their property portfolio. Regardless of the industry you work in, this app demonstrates how to build rich and immersive user experiences with Lightning Components.

Features

Lightning Web Components, Lightning Data Service, Utility Bar, Map, Salesforce Mobile

Trailhead Content
Repository image

Description and Features

A collection of code examples to help you replace Visualforce pages with Lightning Web Components. Each example shows a typical Visualforce pattern and its equivalent LWC implementation. Each example also links right to the Visualforce or LWC code in GitHub.

Features

Lightning Web Components, Visualforce, Base Components, Lightning Data Service, Apex

Trailhead Content
Repository image

Description and Features

Sample event management application. Easy Spaces is a fictitious event management company. This application helps Easy Spaces event coordinators manage reservations and find the right theme for their customers. Regardless of the industry you work in, this app demonstrates how to build flexible, user-centric experiences with dynamic flows, Flow Actions, and object-agnostic Lightning components. This app also demonstrates how to structure your source code for modular distribution using unlocked packages.

Features

Lightning Web Components, Unlocked packages, Modular app design, Object-agnostic components, Flow, Local Actions, Lightning Console, Lightning Console JavaScript APIs

Trailhead Content
Repository image

Description and Features

A collection of easy-to-digest code examples for Lightning Web Components running on the Lightning Web Runtime (LWR). Each recipe demonstrates how to code a specific task in about 30 lines of code or less. A View Source link takes you right to the code in GitHub. From Hello World to data access and third-party libraries, there is a recipe for that!

Features

Lightning Web Components, Lightning Web Runtime, Node.js, Events, @wire, 3rd Party Libraries

Trailhead Content
Repository image

Description and Features

Automation Components provides a set of reusable and production-ready extensions that include invocable actions, flow screen components and local actions. These are intended as an easy to install, easy to use toolbox.

Features

Lightning Web Components, Flows, Invocable Action, Flow Screen Components

Trailhead Content
 

Pinned

  1. lwc-recipes lwc-recipes Public

    A collection of easy-to-digest code examples for Lightning Web Components on Salesforce Platform

    JavaScript 2.5k 3k

  2. ebikes-lwc ebikes-lwc Public

    Sample application for Lightning Web Components and Experience Cloud on Salesforce Platform. Retail use case. Get inspired and learn best practices.

    JavaScript 752 1.1k

  3. easy-spaces-lwc easy-spaces-lwc Public

    Sample application for Lightning Web Components on Salesforce Platform. Part of the sample gallery. Event management use case. Get inspired and learn best practices.

    JavaScript 220 175

  4. dreamhouse-lwc dreamhouse-lwc Public

    Sample application for Lightning Web Components on Salesforce Platform. Part of the sample gallery. Real estate use case. Get inspired and learn best practices.

    JavaScript 358 731

  5. visualforce-to-lwc visualforce-to-lwc Public

    A collection of code examples to help you move from Visualforce to LWC.

    JavaScript 121 84

  6. apex-recipes apex-recipes Public

    A library of concise, meaningful examples of Apex code for common use cases following best practices.

    Apex 896 411

Repositories

Showing 10 of 26 repositories
  • ebikes-lwc Public

    Sample application for Lightning Web Components and Experience Cloud on Salesforce Platform. Retail use case. Get inspired and learn best practices.

    JavaScript 752 CC0-1.0 1,114 0 0 Updated Apr 16, 2024
  • lwc-recipes-oss Public

    A collection of easy-to-digest code examples for Lightning Web Components on any platform.

    JavaScript 313 CC0-1.0 244 0 0 Updated Apr 2, 2024
  • apex-recipes Public

    A library of concise, meaningful examples of Apex code for common use cases following best practices.

    Apex 896 CC0-1.0 411 1 1 Updated Apr 2, 2024
  • automation-components Public

    Automation Components are a collection of reusable and production-ready extensions that include invocable actions, flow screen components and local actions.

    Apex 342 CC0-1.0 78 0 1 Updated Apr 2, 2024
  • lwc-recipes Public

    A collection of easy-to-digest code examples for Lightning Web Components on Salesforce Platform

    JavaScript 2,451 CC0-1.0 3,008 4 4 Updated Apr 1, 2024
  • easy-spaces-lwc Public

    Sample application for Lightning Web Components on Salesforce Platform. Part of the sample gallery. Event management use case. Get inspired and learn best practices.

    JavaScript 220 CC0-1.0 175 0 9 Updated Apr 1, 2024
  • visualforce-to-lwc Public

    A collection of code examples to help you move from Visualforce to LWC.

    JavaScript 121 CC0-1.0 84 0 1 Updated Apr 1, 2024
  • dreamhouse-lwc Public

    Sample application for Lightning Web Components on Salesforce Platform. Part of the sample gallery. Real estate use case. Get inspired and learn best practices.

    JavaScript 358 Apache-2.0 730 1 1 Updated Apr 1, 2024
  • ecars Public

    Sample application for Lightning Web Components and Salesforce Platform runtime and compute capabilities. Part of the sample gallery. Electric car manufacturer use case. Get inspired and learn best practices.

    JavaScript 176 CC0-1.0 128 0 48 Updated Apr 1, 2024
  • ebikes-manufacturing Public

    E-Bikes Manufacturing site built with LWR

    JavaScript 16 CC0-1.0 13 0 8 Updated Apr 1, 2024

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…