Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/regenrek/storyblok-app-hasura-apollo-autosuggest

Small storyblok app which queries data from hasura graphql api
https://github.com/regenrek/storyblok-app-hasura-apollo-autosuggest

Last synced: 8 days ago
JSON representation

Small storyblok app which queries data from hasura graphql api

Awesome Lists containing this project

README

        

# storyblok-app-hasura-example

Storyblok App + Hasura GraphQL

![Storyblok App + Hasura Graphql](https://i.imgur.com/QQ8oogC.gif)

I followed this tutorial: https://www.storyblok.com/tp/how-to-create-custom-app-for-storyblok-with-nuxt-js-and-oauth2

Add your `.env` file to the root of the project
```
CONFIDENTIAL_CLIENT_ID=""
CONFIDENTIAL_CLIENT_SECRET=""
CONFIDENTIAL_CLIENT_REDIRECT_URI=""
```

Add your graphql api to `apollo/clientConfig.js`
```
const GRAPHCMS_API = ''
```

## Nuxt Build Setup

```bash
yarn
yarn dev
```

For detailed explanation on how things work, check out [Nuxt.js docs](https://nuxtjs.org).