Skip to content

hygraph/hygraph-astro-microblog-starter

Repository files navigation

Hygraph Microblog Starter

This is a demo that corresponds to this article about Hygraph pagination.

Getting Started

For the quickest start, use the button below to clone the Hygraph project with schemas and content.

Clone project

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 [email protected]: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.