In today’s fast-paced automotive industry, providing a seamless digital experience is crucial for both dealers and customers.
To refine my Salesforce skills and address this need, I embarked on a project to create a fully functional Car Hub using Salesforce technologies. This project utilizes the power of Lightning Web Components (LWC) for the front-end, Apex for server-side logic, and the Lightning Messaging Service for smooth communication between components.
Beyond just building the Car Hub, I am also committed to ensuring the reliability and maintainability of the codebase by writing Jest tests for each component. This project not only demonstrates the flexibility of Salesforce but also emphasizes best practices in developing and testing modern Salesforce applications.
Stay tuned as I delve into the process of bringing this Car Hub to life, sharing the challenges faced and the insights gained along the way.
Create a Custom Object Car, api name Car__c with following fields.
Label- Category ; Api Name – Category__c ; DataType – Picklist ; Values – Hatchback , MUV, SUV, Sedan
Label – Control ; Api Name – Control__c ; DataType – Picklist ; Values – Automatic , Manual
Label – Description ; Api Name – Description__c ; DataType – Long Text Area(32768)
Label – Fuel Type ; Api Name – Fuel_Type__c ; DataType – Text(20)
Label – Make ; Api Name – Make__c ; DataType – Picklist ; Values – Ford , Hyundai , Honda , Renault
Label – MSRP ; Api Name – MSRP__c ; DataType – Currency(6,0)
Label – Number of Seats ; Api Name – Number_of_Seats__c ; DataType – Number(1,0)
Label – Picture URL ; Api Name – Picture_URL__c ; DataType – URL(255)
Create a static resource “carhub_images” and upload the below file.
Import the below .csv file in the Car Object or create the data manually.
CLICK HERE TO DOWNLOAD CARS DATA