{"id":18973789,"url":"https://github.com/joshhyde9/qwik-contentful","last_synced_at":"2025-10-16T20:57:09.369Z","repository":{"id":65258305,"uuid":"582804691","full_name":"JoshHyde9/qwik-contentful","owner":"JoshHyde9","description":"Bope's new, fancy and fast portfolio","archived":false,"fork":false,"pushed_at":"2023-01-27T02:57:21.000Z","size":1215,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-03T04:23:03.240Z","etag":null,"topics":["blog","contentful","deployment","headless-cms","portfolio","qwik-city"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/JoshHyde9.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}},"created_at":"2022-12-27T23:08:37.000Z","updated_at":"2023-03-15T20:45:39.000Z","dependencies_parsed_at":"2023-02-13T20:30:50.296Z","dependency_job_id":null,"html_url":"https://github.com/JoshHyde9/qwik-contentful","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JoshHyde9/qwik-contentful","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoshHyde9%2Fqwik-contentful","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoshHyde9%2Fqwik-contentful/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoshHyde9%2Fqwik-contentful/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoshHyde9%2Fqwik-contentful/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JoshHyde9","download_url":"https://codeload.github.com/JoshHyde9/qwik-contentful/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoshHyde9%2Fqwik-contentful/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279239987,"owners_count":26132246,"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-16T02:00:06.019Z","response_time":53,"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":["blog","contentful","deployment","headless-cms","portfolio","qwik-city"],"created_at":"2024-11-08T15:13:07.911Z","updated_at":"2025-10-16T20:57:09.322Z","avatar_url":"https://github.com/JoshHyde9.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Qwik + Contentful\n\nProbably the stack I am going to use for anything CMS related.\n\n## Run locally\n\nThis project uses pnpm. Getting started can be found [here](https://pnpm.io/installation).\n\n1. Install dependencies `pnpm i`.\n2. Setup a [Contentful](https://www.contentful.com/) account.\n3. Run `cp .env.sample .env` .\n4. Add your Contentful API key and Space ID in the newly created `.env`.\n   1. From the dashboard click on the space you want to use.\n   2. Go to `Settings \u003e API Keys` and create a new API key.\n   3. Add the new keys to the `.env`.\n5. Add your Content Type ID to the `.env` as well.\n   1. Select `Space \u003e Your Space`.\n   2. Create a new entry or click on an existing entry.\n   3. Click on `Info` on the right-hand side.\n   4. There should be an option called `Content Type ID`. This goes into your `.env`.\n6. This project also uses [SparkPost](https://www.sparkpost.com/) for emailing. Starter plan gets you 500 emails for free / month. Getting started with SparkPost can be found [here](https://support.sparkpost.com/docs/getting-started/getting-started-sparkpost).\n7. Run `pnpm dev` to start the local development server.\n\n### Note\n\nIn `src/global.d.ts`. `BlogData` matches the model that is created in Contentful.\n\n![image](https://user-images.githubusercontent.com/40751087/211268364-e7bbf268-3648-4fd7-86d5-f5a48334cabe.png)\n\n## Deployment\n\nThis is setup to deploy to Netlify's Edge. To deploy somewhere else, view Qwik's deployment docs [here](https://qwik.builder.io/integrations/deployments/overview/).\n\n## Vercel Edge\n\nThis starter site is configured to deploy to [Vercel Edge Functions](https://vercel.com/docs/concepts/functions/edge-functions), which means it will be rendered at an edge location near to your users.\n\n## Installation\n\nThe adaptor will add a new `vite.config.ts` within the `adaptors/` directory, and a new entry file will be created, such as:\n\n```\n└── adaptors/\n    └── vercel-edge/\n        └── vite.config.ts\n└── src/\n    └── entry.vercel-edge.tsx\n```\n\nAdditionally, within the `package.json`, the `build.server` script will be updated with the Vercel Edge build.\n\n## Production build\n\nTo build the application for production, use the `build` command, this command will automatically run `pnpm build.server` and `pnpm build.client`:\n\n```shell\npnpm build\n```\n\n[Read the full guide here](https://github.com/BuilderIO/qwik/blob/main/starters/adaptors/vercel-edge/README.md)\n\n## Dev deploy\n\nTo deploy the application for development:\n\n```shell\npnpm deploy\n```\n\nNotice that you might need a [Vercel account](https://docs.Vercel.com/get-started/) in order to complete this step!\n\n## Production deploy\n\nThe project is ready to be deployed to Vercel. However, you will need to create a git repository and push the code to it.\n\nYou can [deploy your site to Vercel](https://vercel.com/docs/concepts/deployments/overview) either via a Git provider integration or through the Vercel CLI.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshhyde9%2Fqwik-contentful","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoshhyde9%2Fqwik-contentful","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshhyde9%2Fqwik-contentful/lists"}