https://github.com/grafbase/extensions-demo
https://github.com/grafbase/extensions-demo
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/grafbase/extensions-demo
- Owner: grafbase
- Created: 2025-03-05T15:09:44.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-25T11:57:53.000Z (over 1 year ago)
- Last Synced: 2025-03-25T12:39:46.472Z (over 1 year ago)
- Language: TypeScript
- Size: 37.1 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Grafbase Extensions Demo
Demonstrates how to use Grafbase Extensions to extend the functionality of your GraphQL API by federating a REST API and integrating with NATS.
### Quickstart
1. Run `docker-compose up` to start the NATS server
2. Run `grafbase dev` to start the Grafbase dev server
3. Start the countries server: `cd countries-server && bun countries-server.ts`
4. Run `subscription.sh` to subscribe to GraphQL subscriptions after uncommenting the nats schema in grafbase.toml
5. Open your browser and navigate to `http://localhost:5000` to view the Grafbase Explorer