{"id":19622239,"url":"https://github.com/commercetools/commercetools-sunrise-data","last_synced_at":"2025-04-28T03:32:32.663Z","repository":{"id":36786592,"uuid":"41093366","full_name":"commercetools/commercetools-sunrise-data","owner":"commercetools","description":"The data (product types, categories, products) for Sunrise","archived":false,"fork":false,"pushed_at":"2024-06-03T20:00:56.000Z","size":17226,"stargazers_count":39,"open_issues_count":28,"forks_count":73,"subscribers_count":90,"default_branch":"master","last_synced_at":"2025-04-20T15:17:56.101Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/commercetools.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":"2015-08-20T12:02:17.000Z","updated_at":"2025-02-10T19:08:50.000Z","dependencies_parsed_at":"2024-11-11T11:32:26.025Z","dependency_job_id":"dfb1828c-37f3-455d-839f-472cb68a8854","html_url":"https://github.com/commercetools/commercetools-sunrise-data","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commercetools%2Fcommercetools-sunrise-data","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commercetools%2Fcommercetools-sunrise-data/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commercetools%2Fcommercetools-sunrise-data/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commercetools%2Fcommercetools-sunrise-data/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/commercetools","download_url":"https://codeload.github.com/commercetools/commercetools-sunrise-data/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251246394,"owners_count":21558762,"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-11T11:26:45.866Z","updated_at":"2025-04-28T03:32:27.655Z","avatar_url":"https://github.com/commercetools.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sunrise Data\n\n[![Build Status](https://travis-ci.org/commercetools/commercetools-sunrise-data.svg?branch=master)](https://travis-ci.org/commercetools/commercetools-sunrise-data)\n\n\n\n## Prerequisites\n\n1. Access to a commercetools Project and the Merchant Center. If you do not have a commercetools Project, follow our [Getting started guide](https://docs.commercetools.com/getting-started/initial-setup).\n2. [Node.js](https://nodejs.org/en/download/) (version 10 or later) must be installed on your computer.\n\n## Setting up your Sunrise Data project\n\n1. [Clone](https://help.github.com/articles/cloning-a-repository/) this repository to your computer.\n2. Go to the root of the project, where `package.json` is located, and install all node dependencies with:\n\n```\nnpm install\n```\n\n3. [Create an API client](https://docs.commercetools.com/getting-started/create-api-client) in the Merchant Center.\n4. Download the `Environment Variables (.env)` file.\n\n![Client credential in dot env file ](img/client-credentails-in-dotenv.png)\n\n6. Rename this file `.env` and move it to the root of the project.\n\n![The .env file in Visual Studio Code](https://user-images.githubusercontent.com/77231096/172971883-372d4fdd-9d50-4711-ab57-36a0c38c6774.png)\n\n## Commands\n\n1. Clean all existing Project data and import new:\n\n    ```\n        npm run start\n    ```\n\n2. Clean project data:\n\n    ```\n        npm run clean:data\n    ```\n\n3. Import Project data:\n\n    ```\n        npm run import:data\n    ```\n\n4. Clean or import certain data *(e.g. Categories, Products, Customers, etc.)*\n\n    ```\n        npm run clean:categories\n    ```\n\n    or\n\n    ```\n        npm run import:products\n    ```\n    or\n\n    ```\n        npm run import:customers\n    ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommercetools%2Fcommercetools-sunrise-data","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcommercetools%2Fcommercetools-sunrise-data","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommercetools%2Fcommercetools-sunrise-data/lists"}