Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/brob/astro-hygraph-timeline-example


https://github.com/brob/astro-hygraph-timeline-example

Last synced: 23 days ago
JSON representation

Awesome Lists containing this project

README

        

# More Button in Astro with Hygraph Pagination

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](https://hygraph.com/button)](https://app.graphcms.com/clone/a1cd264ab6d3448d9b4d1e2cc2162620?name=Blog)

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.

```
git clone [email protected]:brob/astro-hygraph-timeline-example.git

cd astro-hygraph-timeline-example && 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.