Skip to content

A simple demo utilizing the positionstack and yelp APIs via GraphQL. Built to show Apollo Federation 2, Apollo GraphOS, @defer, and more. Check out the repo for more of a breakdown ๐Ÿš€.

Notifications You must be signed in to change notification settings

kaushiksahoo2000/federated-eats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

20 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

federated-eats

Welcome to federated-eats! This is a small demo that's an example of a fullstack supergraph built with a couple of simple Go subgraphs, gqlgen, Apollo Federation 2, Apollo GraphOS, Railway deployments, @defer, and Next.js.

Demo

Locations Subgraph https://subgraph-locations.up.railway.app/sandbox
Eateries Subgraph https://subgraph-eateries.up.railway.app/sandbox
Federated Eats Supergraph https://main--federated-eats.apollographos.net/graphql , https://studio.apollographql.com/public/federated-eats/explorer?variant=main
Complete Demo App https://federated-eats.vercel.app/

Local Development

$ make help

          go-mod-tidy-eateries  go mod tidy for subgraph_eateries
         go-mod-tidy-locations  go mod tidy for subgraph_locations
      gqlgen-generate-eateries  Generate models/code based on schema for subgraph_eateries
     gqlgen-generate-locations  Generate models/code based on schema for subgraph_locations
                          help  Display this help screen
              print-needed-env  Print env variables you must add
            rover-dev-eateries  Start a local Apollo Router that automatically composes the eateries schema
           rover-dev-locations  Start a local Apollo Router that automatically composes the locations schema
                  start-client  Start local client dev server
       start-eateries-subgraph  Start the eateries subgraph server
      start-locations-subgraph  Start the locations subgraph server

About

A simple demo utilizing the positionstack and yelp APIs via GraphQL. Built to show Apollo Federation 2, Apollo GraphOS, @defer, and more. Check out the repo for more of a breakdown ๐Ÿš€.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published