Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/spences10/sveltekit-starter-blog
https://github.com/spences10/sveltekit-starter-blog
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/spences10/sveltekit-starter-blog
- Owner: spences10
- Archived: true
- Created: 2021-05-16T13:20:28.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-01T08:38:30.000Z (about 1 year ago)
- Last Synced: 2024-08-05T03:02:09.328Z (5 months ago)
- Language: Svelte
- Homepage: sveltekit-starter-blog.vercel.app
- Size: 1.38 MB
- Stars: 9
- Watchers: 3
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-sveltekit - [code
README
# SvelteKit blog starter with GraphCMS
This starter shows how to use the SvelteKit with GraphCMS. It uses
`graphql-request` and GraphCMS for the backend.• [Demo](https://sveltekit-starter-blog.vercel.app/)
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/import/project?template=https://github.com/spences10/sveltekit-starter-blog/tree/main)
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#/https://github.com/spences10/sveltekit-starter-blog)
## How to Use
See the introductory [blog post] on getting started building out this
project.You'll need a GraphCMS account and the Blog Starter created, get the
endpoint from the "API Access" section in the project settings, check
the "Content from stage Published" checkbox for access.Rename the `sample.env` file to `.env` and add your endpoint:
```text
VITE_GRAPHCMS_URL=your-endpoint-here
```Add the `VITE_GRAPHCMS_URL` variable and endpoint to the "Environment
Variables" section of the Vercel project.### Download Manually
```bash
npx degit spences10/sveltekit-starter-blog sveltekit-starter-blog
```Install & Run:
```bash
cd sveltekit-starter-blog
npm install
npm run dev -- --open
```[blog post]: https://scottspence.com/posts/graphcms-svelte-starter/