{"id":15143700,"url":"https://github.com/contentful/sveltekit-starter","last_synced_at":"2025-10-19T17:30:40.858Z","repository":{"id":66184227,"uuid":"525353076","full_name":"contentful/sveltekit-starter","owner":"contentful","description":"Starter repo to get started with Sveltekit and Contentful","archived":false,"fork":false,"pushed_at":"2024-04-16T13:18:26.000Z","size":868,"stargazers_count":15,"open_issues_count":4,"forks_count":5,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-09-27T10:02:53.405Z","etag":null,"topics":["contentful-api","google-maps","graphql","sveltekit"],"latest_commit_sha":null,"homepage":"https://contentful-sveltekit-starter.vercel.app/","language":"Svelte","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/contentful.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-08-16T11:38:11.000Z","updated_at":"2024-03-14T23:48:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"b5fe5f82-b803-4395-8311-089e062b65b3","html_url":"https://github.com/contentful/sveltekit-starter","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/contentful%2Fsveltekit-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/contentful%2Fsveltekit-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/contentful%2Fsveltekit-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/contentful%2Fsveltekit-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/contentful","download_url":"https://codeload.github.com/contentful/sveltekit-starter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219869264,"owners_count":16555575,"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":["contentful-api","google-maps","graphql","sveltekit"],"created_at":"2024-09-26T10:02:56.893Z","updated_at":"2025-10-19T17:30:40.404Z","avatar_url":"https://github.com/contentful.png","language":"Svelte","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Contentful and Sveltekit starter\n\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fcontentful%2Fsveltekit-starter)\n\nEverything you need to build a [SvelteKit](https://kit.svelte.dev/) project with Contentful. This starter shows you how to:\n\n- Fetch data from the Contentful GraphQL API\n- Create dynamic routes\n- Use the Svelte component Lifecycle\n- Display a map using Google Maps\n- Use [private Environment Variables](https://kit.svelte.dev/docs/modules#$env-static-private) server-side\n\n## Quick Start\n\n### Step 1. Get the source code and install dependencies\n\nClone this repository\n\n```bash\ngit clone https://github.com/contentful/sveltekit-starter.git\n```\n\nInstall dependencies.\n\n```bash\nnpm install\n```\n\n### Step 2. Create an account and grab your secrets\n\nCreate a Contentful account with an empty space.\nGo to your Contentful space and\n\n- Find your [Space ID](https://www.contentful.com/help/find-space-id/)\n- Create an access token for the [Content Delivery API](https://www.contentful.com/developers/docs/references/content-delivery-api/)\n- Create an access token for the [Content Management API](https://www.contentful.com/developers/docs/references/content-management-api/).\n\n### Step 3. Create an environment file\n\n1. Rename the `.env.example` at the root of your project to `.env` (so it is ignored by Git).\n2. In the new `.env` file, replace `YOUR_SPACE_ID`, `YOUR_DELIVERY_TOKEN` and `YOUR_MANAGEMENT_ACCESS_TOKEN` with the values from the previous step.\n\n### Step 4. Import our content model\n\nThe project comes with a Contentful set up command that imports the required content model and adds sample content to your space.\n\nRun the following command to import the content model.\n\n```bash\nnpm run setup\n```\n\n### Step 5. Run the project locally\n\n```bash\nnpm run dev\n```\n\nThis will start the development server and open the app in a new browser tab.\n\nThe page will reload when you make changes.\n\n## Building\n\nTo create a production version of your app:\n\n```bash\nnpm run build\n```\n\nYou can preview the production build with `npm run preview`.\n\n\u003e To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcontentful%2Fsveltekit-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcontentful%2Fsveltekit-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcontentful%2Fsveltekit-starter/lists"}