https://github.com/hygraph/hygraph-astro-microblog-starter
https://github.com/hygraph/hygraph-astro-microblog-starter
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/hygraph/hygraph-astro-microblog-starter
- Owner: hygraph
- Created: 2024-02-14T20:10:06.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-04T21:48:42.000Z (over 2 years ago)
- Last Synced: 2025-09-17T06:56:15.020Z (10 months ago)
- Language: JavaScript
- Homepage: https://hygraph-astro-microblog-starter.vercel.app
- Size: 207 KB
- Stars: 8
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hygraph Microblog Starter
This is a demo that corresponds to [this article](https://hygraph.com/blog/lazy-load-content-astro-hygraph-pagination) about Hygraph pagination.
## Getting Started
For the quickest start, use the button below to clone the Hygraph project with schemas and content.
[](https://app.hygraph.com/clone/17eb970b42d544c595b5772ba3614551?name=Microblog)
For a slightly slower start, you'll need a new Hygraph project with a `post` schema that has a `slug` and `content` field. `content` should be a Rich Text field.
To run the site locally run the following commands in your CLI.
```
npx degit git@github.com:hygraph/hygraph-astro-microblog-starter.git
cd hygraph-astro-microblog-starter && npm install
```
Once you have that, create a `.env` file in the root directory and the `ASTRO_HYGRAPH_ENDPOINT` variable with a link to your API endpoint from Hygraph.