{"id":23779326,"url":"https://github.com/thecoder93/qwik-sanity-template","last_synced_at":"2026-04-10T09:30:20.497Z","repository":{"id":240231193,"uuid":"802043167","full_name":"thecoder93/qwik-sanity-template","owner":"thecoder93","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-27T10:42:27.000Z","size":143,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-01T10:17:26.899Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/thecoder93.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-17T12:10:00.000Z","updated_at":"2024-05-28T14:18:59.000Z","dependencies_parsed_at":"2024-05-17T13:38:28.040Z","dependency_job_id":"0f34419c-8133-4170-9d16-682ff1f9ac4e","html_url":"https://github.com/thecoder93/qwik-sanity-template","commit_stats":null,"previous_names":["thecoder93/qwik-sanity-sample","thecoder93/qwik-sanity-template"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecoder93%2Fqwik-sanity-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecoder93%2Fqwik-sanity-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecoder93%2Fqwik-sanity-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecoder93%2Fqwik-sanity-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thecoder93","download_url":"https://codeload.github.com/thecoder93/qwik-sanity-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239979067,"owners_count":19728458,"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":"2025-01-01T10:17:03.639Z","updated_at":"2026-04-10T09:30:20.423Z","avatar_url":"https://github.com/thecoder93.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Qwik + Sanity frontend example = 🩷\n\n\n![alt text](https://imgur.com/pyg8cAL.jpg/)\n\n\nThis is an example [Sanity](https://www.sanity.io/) powered frontend for an hero page using [Qwik](https://qwik.dev/).\n\n![Alt Text](https://media.giphy.com/media/v1.Y2lkPTc5MGI3NjExMDJraTh0bGxlNDIxYWJkMXB5amRzdGwweXJrbnRrOXE2OTRkYnZtbiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/Z3tOBIqimgvKr6mn3a/giphy.gif)\n\n## Setup\n\n```\npnpm install\n```\n\nIf you're running your own Sanity project, go to `sanity/config/sanity.client.ts` and change the following lines:\n\n```\n  projectId: 'YOUR_PROJECT_ID',\n  dataset: 'NAME_OF_YOUR_DATASET',\n  apiVersion: 'VERSION_API_OF_SANITY'\n```\n\nYou can locate the ID of your project in the header of the [management page for your project](https://manage.sanity.io/).\n\nThen start the example app with:\n\n```\npnpm run dev\n```\n\nThe app should now be up and running at http://localhost:5173/ 🚀\n\n# Qwik City App ⚡️\n\n-   [Qwik Docs](https://qwik.dev/)\n-   [Discord](https://qwik.dev/chat)\n-   [Qwik GitHub](https://github.com/QwikDev/qwik)\n-   [@QwikDev](https://twitter.com/QwikDev)\n-   [Vite](https://vitejs.dev/)\n\n---\n\n## Project Structure\n\nThis project is using Qwik with [QwikCity](https://qwik.dev/qwikcity/overview/). QwikCity is just an extra set of tools on top of Qwik to make it easier to build a full site, including directory-based routing, layouts, and more.\n\nInside your project, you'll see the following directory structure:\n\n```\n├── public/\n│   └── ...\n└── src/\n    ├── components/\n    │   └── ...\n    └── routes/\n        └── ...\n```\n\n-   `src/routes`: Provides the directory-based routing, which can include a hierarchy of `layout.tsx` layout files, and an `index.tsx` file as the page. Additionally, `index.ts` files are endpoints. Please see the [routing docs](https://qwik.dev/qwikcity/routing/overview/) for more info.\n\n-   `src/components`: Recommended directory for components.\n\n-   `public`: Any static assets, like images, can be placed in the public directory. Please see the [Vite public directory](https://vitejs.dev/guide/assets.html#the-public-directory) for more info.\n\n## Add Integrations and deployment\n\nUse the `pnpm qwik add` command to add additional integrations. Some examples of integrations includes: Cloudflare, Netlify or Express Server, and the [Static Site Generator (SSG)](https://qwik.dev/qwikcity/guides/static-site-generation/).\n\n```shell\npnpm qwik add # or `pnpm qwik add`\n```\n\n## Development\n\nDevelopment mode uses [Vite's development server](https://vitejs.dev/). The `dev` command will server-side render (SSR) the output during development.\n\n```shell\nnpm start # or `pnpm start`\n```\n\n\u003e Note: during dev mode, Vite may request a significant number of `.js` files. This does not represent a Qwik production build.\n\n## Preview\n\nThe preview command will create a production build of the client modules, a production build of `src/entry.preview.tsx`, and run a local server. The preview server is only for convenience to preview a production build locally and should not be used as a production server.\n\n```shell\npnpm preview # or `pnpm preview`\n```\n\n## Production\n\nThe production build will generate client and server modules by running both client and server build commands. The build command will use Typescript to run a type check on the source code.\n\n```shell\npnpm build # or `pnpm build`\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthecoder93%2Fqwik-sanity-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthecoder93%2Fqwik-sanity-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthecoder93%2Fqwik-sanity-template/lists"}