hygraph / hygraph-astro-microblog-starter

Home Page:https://hygraph-astro-microblog-starter.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 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.

About

https://hygraph-astro-microblog-starter.vercel.app


Languages

Language:JavaScript 65.6%Language:Astro 34.4%