All Projects → JitendraZaa → Lightning-Out-Demo

JitendraZaa / Lightning-Out-Demo

Licence: other
How to use Lightning component in node.js (External websites) by using Lightning Out. It shows how to enable CORS and SSL in Node.js with Video and complete source code.

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to Lightning-Out-Demo

Salesforce-Custom-Path-Assistant-LWC
A Salesforce custom path assistant built using only Lightning Web Components
Stars: ✭ 37 (+117.65%)
Mutual labels:  salesforce, salesforce-lightning
SF-Lightning-Lookup
Salesforce lightning dynamic lookup component.
Stars: ✭ 15 (-11.76%)
Mutual labels:  salesforce, salesforce-lightning
spaghetti-cmd-loader
Salesforce Custom Metadata Type Loader, designed for Lightning Experience
Stars: ✭ 13 (-23.53%)
Mutual labels:  salesforce, salesforce-lightning
Salesforce-Short-Hands
The main purpose of this repository is to put all the utilities in one place so that other developers can get help and they can also contribute to this repo.
Stars: ✭ 31 (+82.35%)
Mutual labels:  salesforce, salesforce-lightning
PaymentForm
A form that takes credit card and address information. Uses a ported version of jessie pollack's card component.
Stars: ✭ 40 (+135.29%)
Mutual labels:  salesforce, salesforce-lightning
Indicators
Indicators Lightning Web Component
Stars: ✭ 30 (+76.47%)
Mutual labels:  salesforce, salesforce-lightning
lwc-redux
Integrate Redux with Lightning Web Component
Stars: ✭ 35 (+105.88%)
Mutual labels:  salesforce, salesforce-lightning
eslint-plugin-aura
Salesforce Lightning (Aura) specific linting rules for ESLint
Stars: ✭ 24 (+41.18%)
Mutual labels:  salesforce, salesforce-lightning
uswds-sf-lightning-community
A Salesforce Lightning Community Theme and related components built upon US Web Design System
Stars: ✭ 24 (+41.18%)
Mutual labels:  salesforce, salesforce-lightning
lwc-oss-oauth
Sample Code for connecting to Salesforce using OAuth Web Server flow from an LWC OSS App
Stars: ✭ 18 (+5.88%)
Mutual labels:  salesforce
apex-dml-mocking
DML mocking, CRUD mocking, dependency injection framework for Salesforce.com (SFDC) using Apex
Stars: ✭ 38 (+123.53%)
Mutual labels:  salesforce
R.apex
Functional utility library for Apex
Stars: ✭ 80 (+370.59%)
Mutual labels:  salesforce
rvw developers core
SFCC Developers Core Cartridge. A Salesforce Commerce Cloud (Demandware) Cartridge for Developers.
Stars: ✭ 43 (+152.94%)
Mutual labels:  salesforce
aiosfstream
Salesforce Streaming API client for asyncio
Stars: ✭ 46 (+170.59%)
Mutual labels:  salesforce
ApexCallouts
A lightweight Apex library for making HTTP callouts. Works with remote site settings and named credentials.
Stars: ✭ 32 (+88.24%)
Mutual labels:  salesforce
canvas-starter-kit
A template for developing on the Salesforce Canvas platform in Javascript.
Stars: ✭ 23 (+35.29%)
Mutual labels:  salesforce
SFDCRules
Simple yet powerful Rule Engine for Salesforce - SFDCRules
Stars: ✭ 38 (+123.53%)
Mutual labels:  salesforce
sfdx-flowdoc-plugin
A Salesforce CLI plugin that generates design document from Lightning Flow (currently Process Builder) metadata
Stars: ✭ 56 (+229.41%)
Mutual labels:  salesforce
FuelSDK-Node-REST
Node REST client w/ auth to access the Salesforce Marketing Cloud (formerly ExactTarget) API
Stars: ✭ 29 (+70.59%)
Mutual labels:  salesforce
salesforce-iam-flows
Node.js application that implements some of the most common SAML and OAuth flows in Salesforce.
Stars: ✭ 31 (+82.35%)
Mutual labels:  salesforce

Lightning-Out-Demo

Complete source code to showcase using Lightning component in node.js (External websites) by using Lightning Out. It shows how to enable CORS and SSL in Node.js with Video and complete source code.

Jitendra Zaa Blog

Click here for Youtube Video demo

Blog post explaining code

Steps to run

Step 1

Create below Lightning application in your Salesforce instance and name it as LightningOutDemo

<aura:application access="Global" extends="ltng:outApp">

<aura:dependency resource="forceChatter:feed" type="COMPONENT" />

</aura:application>

Step 2

Create Connected App in your Salesforce instance with callback URL - https://localhost:8081/ Copy consumer secret created in connected app and update clientId variable defined in OAuth.js file.

Step 3

Save https://localhost:8081 in CORS setting of Salesforce.

Step 4

Run npm install command in the directory where this code is downloaded. It will download all the required node modules. Then run npm start, it will start the server

Step 5

Navigate to https://localhost:8081/ in your browser and you would see Lightning Out in Action

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].