Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/regenrek/storyblok-app-hasura-apollo-autosuggest
- Owner: regenrek
- Created: 2020-07-28T19:30:34.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-07-28T19:41:32.000Z (over 4 years ago)
- Last Synced: 2024-05-18T07:47:35.130Z (7 months ago)
- Language: Vue
- Size: 212 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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).