Welcome to the companion app of Odyssey's Side Quest: Auth! This is a simplified version of the Airlock app. You can find the course lessons and instructions on Odyssey, Apollo's learning platform.
You can preview the completed demo app here.
The course will walk you through step by step how to turn this monolithic graph into a federated graph. This codebase is the starting point of your journey!
To get started:
- In a terminal window, change into the
server
directory, then runnpm install
. - Run
npm start
.
This will start the GraphQL API server on http://localhost:4000
Next, let's run some local services.
- In a new terminal window, change into the
server
directory and runnpm run launch
. This will run 3 local services, which you can learn about in the accompanying Odyssey course.
After playing around with the data, you may want to reset to its initial state. To do this, run npm run db:reset
.
To start the Airlock client:
- In a terminal window, change into the
client
directory, then runnpm install
. - Then, run
npm start
.
This will open up a new browser tab to http://localhost:3000
For any issues or problems concerning the course content, please refer to the Odyssey topic in our community forums.