{"id":15654606,"url":"https://github.com/vysinsky/sfcc-playground","last_synced_at":"2025-05-01T04:21:59.856Z","repository":{"id":36954559,"uuid":"491439255","full_name":"vysinsky/sfcc-playground","owner":"vysinsky","description":"Salesforce Commerce Cloud Playground simulates SFCC server behaviour so you can develop controllers locally, use nice debug tools etc.","archived":false,"fork":false,"pushed_at":"2023-03-02T23:29:24.000Z","size":2260,"stargazers_count":7,"open_issues_count":14,"forks_count":0,"subscribers_count":1,"default_branch":"beta","last_synced_at":"2025-03-30T21:04:17.650Z","etag":null,"topics":["demandware","developer-experience","developer-tools","dx","express","playground","salesforce","salesforce-commerce-cloud","sfcc"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vysinsky.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-05-12T09:02:59.000Z","updated_at":"2024-10-17T17:47:01.000Z","dependencies_parsed_at":"2024-10-23T07:47:09.179Z","dependency_job_id":null,"html_url":"https://github.com/vysinsky/sfcc-playground","commit_stats":{"total_commits":61,"total_committers":2,"mean_commits":30.5,"dds":"0.016393442622950838","last_synced_commit":"0f202e1ab8f07acd0344236301b1ece9d88eeea6"},"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vysinsky%2Fsfcc-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vysinsky%2Fsfcc-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vysinsky%2Fsfcc-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vysinsky%2Fsfcc-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vysinsky","download_url":"https://codeload.github.com/vysinsky/sfcc-playground/tar.gz/refs/heads/beta","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251821561,"owners_count":21649332,"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":["demandware","developer-experience","developer-tools","dx","express","playground","salesforce","salesforce-commerce-cloud","sfcc"],"created_at":"2024-10-03T12:52:41.271Z","updated_at":"2025-05-01T04:21:59.823Z","avatar_url":"https://github.com/vysinsky.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Salesforce Commerce Cloud Playground\n\n![playground-ui.png](playground-ui.png)\n\n## Installation\n\n`npm install --global sfcc-playground@beta`\n\nor if you feel adventurous, use alpha\n\n`npm install --global sfcc-playground@alpha`\n\nThe playground uses [`dw-api-mock`](https://github.com/SalesforceCommerceCloud/dw-api-mock.git). You need to be able to access the repository ([see the Trailhead module](https://trailhead.salesforce.com/content/learn/modules/b2c-developer-resources-and-tools/b2c-developer-access-repositories)).\n\n## Configuration\n\nThe playground uses [cosmiconfig](https://github.com/davidtheclark/cosmiconfig) so you can use:\n\n- a `sfcc-playground` property in package.json\n- a `.sfcc-playgroundrc` file in JSON or YAML format\n- a `.sfcc-playgroundrc.json`, `.sfcc-playgroundrc.yaml`, `.sfcc-playgroundrc.yml`, `.sfcc-playgroundrc.js`, or `.sfcc-playgroundrc.cjs` file\n- a `sfcc-playground.config.js` or `sfcc-playground.config.cjs` CommonJS module exporting an object\n\n### Configuration options\n\n| Value | Description | Default value |\n| --- | --- | --- |\n| rootDir | Root directory of the project | `process.cwd()` |\n| cartridgesDir | Path to cartridges directory | `${cwd}/cartridges` |\n| cartridgePath | Cartridge path | app_storefront_base |\n| modulesPath | Path to modules directory | `${cwd}/cartridges/modules` |\n| apiPort | Port to use for API app | 8080 |\n\n## Usage\n\nRun the playground in your project folder (create a config file if needed).\n\n```shell\nsfcc-playground\n```\n\nOpen browser on `http://localhost:8080` (or on the port you specified in the config).\n\n## Roadmap\n\nSee [https://github.com/users/vysinsky/projects/1/views/1](https://github.com/users/vysinsky/projects/1/views/1)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvysinsky%2Fsfcc-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvysinsky%2Fsfcc-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvysinsky%2Fsfcc-playground/lists"}