{"id":19282513,"url":"https://github.com/rrcook/loe-salesforce-scaffold","last_synced_at":"2025-10-08T20:18:49.859Z","repository":{"id":152920600,"uuid":"402944980","full_name":"rrcook/loe-salesforce-scaffold","owner":"rrcook","description":"Adding Salesforce login and SOQL functionality to loe-scaffold.","archived":false,"fork":false,"pushed_at":"2021-09-09T18:24:39.000Z","size":2346,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-23T22:27:13.883Z","etag":null,"topics":["electron","javascript","jsforce","lwc","lwc-oss","nodejs","salesforce"],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rrcook.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-04T02:27:00.000Z","updated_at":"2022-03-10T03:03:51.000Z","dependencies_parsed_at":"2024-04-19T05:16:53.949Z","dependency_job_id":null,"html_url":"https://github.com/rrcook/loe-salesforce-scaffold","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rrcook/loe-salesforce-scaffold","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrcook%2Floe-salesforce-scaffold","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrcook%2Floe-salesforce-scaffold/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrcook%2Floe-salesforce-scaffold/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrcook%2Floe-salesforce-scaffold/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rrcook","download_url":"https://codeload.github.com/rrcook/loe-salesforce-scaffold/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrcook%2Floe-salesforce-scaffold/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000663,"owners_count":26082817,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["electron","javascript","jsforce","lwc","lwc-oss","nodejs","salesforce"],"created_at":"2024-11-09T21:27:11.984Z","updated_at":"2025-10-08T20:18:49.826Z","avatar_url":"https://github.com/rrcook.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# loe-salesforce-scaffold\n\nThis application is a scaffolding for a Lightning Web Component OSS Electron application, plus\nlogging into Salesforce and querying objects, using [jsforce](https://github.com/jsforce/jsforce).\nIt is an expansion of what is created with [create-lwc-app](https://github.com/muenzpraeger/create-lwc-app) in ways that I find useful, and I hope you find useful as well. \nThe Salesforce/jsforce additions borrowed from [electronForce](https://github.com/acrosman/electronForce). \nThat application uses a jQuery-based UI.\nIf you build on the native platforms you will get native applications; built on Windows 10, macOS Catalina on Intel, and Ubuntu 20.04.\n\nThe main additions to what is done with create-lwc-app:\n- I added preload-based ipc communication between the renderer process and the main process, and\nmade a simple example sending information from renderer to main, and from main to renderer.\n- I added all the libraries, resources and setup code to use the oss versions of lightning base components and slds, and used a lightning-button in the app to demonstrate. The setup steps came from \n[this article](https://developer.salesforce.com/blogs/2020/12/build-connected-apps-anywhere-using-lightning-base-components).\n- I added electron-forge to package the application as a true standalone electron app.\n\nAdditions to loe-scaffold:\n- I added a login modal dialog using LWC and SLDS techniques. The login attempts are done in the \"main\" (node.js) part of the application, so connection information and success and error notifications are passed back to the \"renderer\".\n- I added a simple SOQL query to fulfill in main, to display in a lightning-datatable in the renderer.\n\n## How to start?\n\nIf building on Ubuntu, and I assume other Debian-based linuxes, first run `sudo apt-get install rpm`. \n\nTo build the project and check compilation run `npm run build` or `npm build:development`.\nTo run it as an electron app in development, and see your main process console.log statements,\nrun `npm run start`. When you're ready to make a standalone application run `npm run make`.\n\nThe main process source files are in the [`scripts`](./scripts) folder.\n\nThe renderer process source files are located in the [`src`](./src) folder. All web components are within the [`src/modules`](./src/modules) folder. The folder hierarchy also represents the naming structure of the web components.\n\nFind more information on the main repo on [GitHub](https://github.com/muenzpraeger/create-lwc-app).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frrcook%2Floe-salesforce-scaffold","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frrcook%2Floe-salesforce-scaffold","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frrcook%2Floe-salesforce-scaffold/lists"}