Demonstrates how to use Grafbase Extensions to extend the functionality of your GraphQL API by federating a REST API and integrating with NATS.
- Run
docker-compose up
to start the NATS server - Run
grafbase dev
to start the Grafbase dev server - Start the countries server:
cd countries-server && bun countries-server.ts
- Run
subscription.sh
to subscribe to GraphQL subscriptions after uncommenting the nats schema in grafbase.toml - Open your browser and navigate to
http://localhost:5000
to view the Grafbase Explorer