Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/birkir/next-meets-gatsby
NextJS meets Gatsby source plugins as a graphql server
https://github.com/birkir/next-meets-gatsby
Last synced: 4 months ago
JSON representation
NextJS meets Gatsby source plugins as a graphql server
- Host: GitHub
- URL: https://github.com/birkir/next-meets-gatsby
- Owner: birkir
- Archived: true
- Created: 2019-01-05T00:11:14.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-06T07:10:33.000Z (about 6 years ago)
- Last Synced: 2024-07-31T07:18:18.069Z (7 months ago)
- Language: JavaScript
- Size: 171 KB
- Stars: 10
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome - next-meets-gatsby - NextJS meets Gatsby source plugins as a graphql server (JavaScript)
README
# next-meets-gatsby
> THIS IS DEPCRATED!
**NOTE:** [Go to this example in the `graphql-gatsby` package.](https://github.com/birkir/graphql-gatsby/tree/master/examples/with-next)
---
> Depricated (OLD)
This is a NextJS app with gatsby graphql server under the hood.
Stuff to look out for:
- http://localhost:3000/graphql for API browser
- `yarn export` works well
- Client side fetching
- Server side fetchingAll gatsby plugins that add source nodes via the `sourceNodes` api work.
YES, YOU HEARD RIGHT, ALL GATSBY-SOURCE-* PLUGINS WORK.
### Running thiz
Simple,
```
git clone [email protected]:birkir/next-meets-gatsby.git
cd next-meets-gatsby
yarn
yarn dev
```---
Exporting
```
yarn export
cd out
python -m SimpleHTTPServer
```