{"id":20247731,"url":"https://github.com/trailheadapps/lwc-recipes-oss","last_synced_at":"2025-05-15T13:08:13.340Z","repository":{"id":35492129,"uuid":"189253620","full_name":"trailheadapps/lwc-recipes-oss","owner":"trailheadapps","description":"A collection of easy-to-digest code examples for Lightning Web Components on any platform.","archived":false,"fork":false,"pushed_at":"2025-05-01T12:07:02.000Z","size":5878,"stargazers_count":334,"open_issues_count":10,"forks_count":254,"subscribers_count":17,"default_branch":"main","last_synced_at":"2025-05-01T13:22:42.078Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://lwc.dev","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trailheadapps.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":".github/SUPPORT.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-05-29T15:36:45.000Z","updated_at":"2025-05-01T12:04:56.000Z","dependencies_parsed_at":"2024-06-19T07:13:34.752Z","dependency_job_id":"270fdc73-7a82-413a-b924-340f59ba257b","html_url":"https://github.com/trailheadapps/lwc-recipes-oss","commit_stats":{"total_commits":440,"total_committers":15,"mean_commits":"29.333333333333332","dds":0.375,"last_synced_commit":"4d623b28fcde464a3b6496dbe53505a45c11d695"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trailheadapps%2Flwc-recipes-oss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trailheadapps%2Flwc-recipes-oss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trailheadapps%2Flwc-recipes-oss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trailheadapps%2Flwc-recipes-oss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trailheadapps","download_url":"https://codeload.github.com/trailheadapps/lwc-recipes-oss/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254346624,"owners_count":22055808,"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","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":[],"created_at":"2024-11-14T09:39:07.804Z","updated_at":"2025-05-15T13:08:08.302Z","avatar_url":"https://github.com/trailheadapps.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lightning Web Components Recipes Open Source\n\n[![Github Workflow](https://github.com/trailheadapps/lwc-recipes-oss/workflows/CI/badge.svg)](https://github.com/trailheadapps/lwc-recipes-oss/actions?query=workflow%3ACI) [![codecov](https://codecov.io/gh/trailheadapps/lwc-recipes-oss/branch/main/graph/badge.svg)](https://codecov.io/gh/trailheadapps/lwc-recipes-oss)\n\nA collection of easy-to-digest code examples for Lightning Web Components Open Source. Each recipe demonstrates how to code a specific task in 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!\n\n\u003cdiv\u003e\n   \u003cimg src=\"https://res.cloudinary.com/hy4kyit2a/f_auto,fl_lossy,q_70/learn/projects/quick-start-explore-the-lightning-web-components-oss-recipes-sample-app/3039bf385440158b5a43a1d42cbbe82d_badge.png\" align=\"left\" alt=\"Trailhead Badge\" height=\"40px\" width=\"40px\" style=\"padding-right: 0.5em;\"/\u003e\n   \u003cp style=\"padding-top:0.5em;\"\u003e\n      Learn more about this app by completing the \u003ca href=\"https://trailhead.salesforce.com/en/content/learn/projects/quick-start-explore-the-lightning-web-components-oss-recipes-sample-app\" \u003eQuick Start: Explore the Lightning Web Components OSS Recipes Sample App\u003c/a\u003e Trailhead project or by watching this \u003ca href=\"https://www.youtube.com/watch?v=4mXCLJm8KF4\u0026list=PLgIMQe2PKPSJcuCwM61dEc4jFG_jHqV2t\u0026index=6\"\u003eshort presentation video\u003c/a\u003e.\n   \u003c/p\u003e\n\u003c/div\u003e\n\n## Recipes Live Version\n\nCheck out [https://lwc-recipes-oss.herokuapp.com](https://lwc-recipes-oss.herokuapp.com) live on Heroku. Or on [https://recipes.lwc.dev](https://recipes.lwc.dev).\n\n## Deploy to Heroku\n\nIf you want to deploy LWC Recipes Open Source to Heroku, you can do the following:\n\n1. Create a Heroku application:\n\n```\nheroku create \u003capp name\u003e\n```\n\n2. Deploy the application:\n\n```\ngit push heroku main\n```\n\n## Local Development\n\n1. Clone the `lwc-recipes-oss` repository:\n\n```\ngit clone https://github.com/trailheadapps/lwc-recipes-oss\ncd lwc-recipes-oss\n```\n\n2. Install the project dependencies using `npm` (or `yarn`, if you prefer that alternatively)\n\n```\nnpm install\n```\n\n3. Build the LWR static site.\n\n```\nnpm run build\n```\n\n4. Start the app in watch mode.\n\n```\nnpm run dev\n```\n\n5. Enjoy the app!\n\n## Code Tours\n\nCode Tours are guided walkthroughs that will help you understand the app code better. To be able to run them, install the [CodeTour VSCode extension](https://marketplace.visualstudio.com/items?itemName=vsls-contrib.codetour).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrailheadapps%2Flwc-recipes-oss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrailheadapps%2Flwc-recipes-oss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrailheadapps%2Flwc-recipes-oss/lists"}