{"id":20481269,"url":"https://github.com/xilution/xilution-graphql-backend-example","last_synced_at":"2026-04-15T22:35:12.834Z","repository":{"id":44102394,"uuid":"199214404","full_name":"xilution/xilution-graphql-backend-example","owner":"xilution","description":"An example showing how to build a GraphQL server using Xilution's Beagily and Fox.","archived":false,"fork":false,"pushed_at":"2023-01-07T08:11:46.000Z","size":658,"stargazers_count":1,"open_issues_count":20,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-05T15:51:07.452Z","etag":null,"topics":["beagily","docker","fox","graphql","xilution"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xilution.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-27T21:19:53.000Z","updated_at":"2020-09-28T01:22:53.000Z","dependencies_parsed_at":"2023-02-06T15:46:27.796Z","dependency_job_id":null,"html_url":"https://github.com/xilution/xilution-graphql-backend-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xilution/xilution-graphql-backend-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xilution%2Fxilution-graphql-backend-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xilution%2Fxilution-graphql-backend-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xilution%2Fxilution-graphql-backend-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xilution%2Fxilution-graphql-backend-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xilution","download_url":"https://codeload.github.com/xilution/xilution-graphql-backend-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xilution%2Fxilution-graphql-backend-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31863495,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["beagily","docker","fox","graphql","xilution"],"created_at":"2024-11-15T16:07:35.766Z","updated_at":"2026-04-15T22:35:12.804Z","avatar_url":"https://github.com/xilution.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003exilution-graphql-backend-example\u003c/h1\u003e\n\u003cp\u003e\nAn example demonstrating how to build a GraphQL backend using...\n\u003cp\u003e\n\u003cul\u003e\n    \u003cli\u003e\n        Xilution's IAM Suite (\u003ca href=\"https://products.xilution.com/api/catalog/basics/elephant\"\u003eElephant\u003c/a\u003e, \u003ca href=\"https://products.xilution.com/api/catalog/basics/hippo\"\u003eHippo\u003c/a\u003e, \u003ca href=\"https://products.xilution.com/api/catalog/basics/rhino\"\u003eRhino\u003c/a\u003e, \u003ca href=\"https://products.xilution.com/api/catalog/basics/zebra\"\u003eZebra\u003c/a\u003e)\n    \u003c/li\u003e\n    \u003cli\u003e\n        Xilution's Data Storage Service (\u003ca href=\"https://products.xilution.com/api/catalog/basics/beagily\"\u003eBeagily\u003c/a\u003e)\n    \u003c/li\u003e\n    \u003cli\u003e\n        Xilution's API Hosting Service (\u003ca href=\"https://products.xilution.com/api/catalog/integration/fox\"\u003eFox\u003c/a\u003e)\n    \u003c/li\u003e\n\u003c/ul\u003e\n\u003cp\u003e\n  \u003ca href=\"https://github.com/xilution/xilution-graphql-backend-example/issues\"\u003e\n    \u003cimg alt=\"Issues\" src=\"https://img.shields.io/github/issues/xilution/xilution-graphql-backend-example.svg\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/xilution/xilution-graphql-backend-example/network\"\u003e\n    \u003cimg alt=\"Forks\" src=\"https://img.shields.io/github/forks/xilution/xilution-graphql-backend-example.svg\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/xilution/xilution-graphql-backend-example/stargazers\"\u003e\n    \u003cimg alt=\"Stars\" src=\"https://img.shields.io/github/stars/xilution/xilution-graphql-backend-example.svg\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/xilution/xilution-graphql-backend-example/blob/master/LICENSE\"\u003e\n    \u003cimg alt=\"License\" src=\"https://img.shields.io/github/license/xilution/xilution-graphql-backend-example.svg\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\u003cp\u003e\n  \u003ca href=\"https://travis-ci.org/xilution/xilution-graphql-backend-example\"\u003e\n    \u003cimg alt=\"Travis\" src=\"https://img.shields.io/travis/xilution/xilution-graphql-backend-example.svg\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\u003cp\u003e\n  \u003ca href=\"https://twitter.com/intent/tweet?text=Wow:\u0026url=https%3A%2F%2Fgithub.com%2Fxilution%2Fxilution-graphql-backend-example\"\u003e\n    \u003cimg alt=\"Tweet\" src=\"https://img.shields.io/twitter/url/https/github.com/xilution/xilution-graphql-backend-example.svg?style=social\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n## Time Requirement\n\nI will take about thirty (30) minutes to run through this example.\n\n## Use Case\n\n**As:** a frontend app builder who creates apps for multiple clients.\n\n**I want:** a [GraphQL](https://graphql.org/) enabled API that restricts access to only known users.\n\n**So that:** I can build a pet data management app for one of my clients.\n\n## Xilution Product Hierarchy\n\nHere's a quick overview of the Xilution products highlighted in this example.\nFor a complete directory of Xilution products, see https://prod.products.xilution.com/.\n\n```text\n                 +------------------+\n                 | Xilution Account |\n                 +--------+---------+\n                          |\n                          v\n                   +------+-------+\n                   | Organization +--------------+\n                   +------+-------+              |\n                          |                      |\n                          v                      |\n               +----------+----------+           |\n               |    [ Elephant ]     |           |\n               | Sub-Organization(s) |           |\n               +----------+----------+           |\n                          |                      |\n                          v                      |\n          +--------------------------------+     |\n          |               |                |     |\n          v               v                v     v\n    +-----+-----+   +-----+-----+      +---+-----+---+\n    | [ Hippo ] |   | [ Rhino ] |      |   [ Fox ]   |\n    | Client(s) |   |  User(s)  |      | Instance(s) |\n    +-----------+   +-----------+      +-------------+\n```\n\n* [Elephant](https://products.xilution.com/api/catalog/basics/elephant)\n* [Hippo](https://products.xilution.com/api/catalog/basics/hippo)\n* [Rhino](https://products.xilution.com/api/catalog/basics/rhino)\n* [Fox](https://products.xilution.com/api/catalog/integration/fox)\n\nWhen you create a Xilution Account, an Organization record is created for you.\nThis is referred to as your \"Account Organization\" in the instructions below.\nAs a frontend app builder who supports multiple clients, you can create multiple Sub-Organizations via Xilution Elephant.\nOne for each client you support.\nThis allows you to separate client resource management and billing from your Account Organization and other Sub-Organizations.\n\nXilution Hippo is part of Xilution's IAM suite and manages Sub-Organization clients.\nA client is a reference to a web or mobile application.\nIn this example, you'll create one Sub-Organization client.\n\nXilution Rhino is part of Xilution's IAM suite and manages Sub-Organization users.\nIn this example, you'll create one Sub-Organization user.\n\nXilution Fox is a managed API hosting solution that uses [Docker](https://www.docker.com/) to instantiate API server instances.\nYou can associate Fox instances with your Account Organization and/or Sub-Organizations.\nIn this example, you'll associated a Fox instance with a Sub-Organization.\n\n## Implemented Solution\n\nWhen you complete this example, you will create a GraphQL enabled API that supports the use case mentioned above.\n\n```text\n                                  +-----------+\n                            +----\u003e+ [ Zebra ] |\n                            |     |   Auth    |\n                            |     +-----------+\n            +---------+     |\n       o----+ [ Fox ] +----\u003e+\n    GraphQL |   API   |     |\n            +---------+     |\n                            |    +--------------+\n                            +---\u003e+ [ Beagily ]  |\n                                 | Data Storage |\n                                 +--------------+\n```\n\n* [Zebra](https://products.xilution.com/api/catalog/basics/zebra)\n* [Beagily](https://products.xilution.com/api/catalog/basics/beagily)\n* [Fox](https://products.xilution.com/api/catalog/integration/fox)\n\nThe API authorizes calls to it's `/graphql` endpoint by making `/oauth/authenticate` calls to Xilution Zebra with the Bearer token included in the Authorization header of each request.\nXilution Zebra is [OAuth 2.0](https://oauth.net/2/) compliant and is part of Xilution's IAM (identity and access management) suite and is used to authenticate and authorize Rhino users and Hippo clients.\n\nThe API interfaces with Xilution Beagily to store and retrieve Pet data.\nXilution Beagily is a simple JSON data storage API that features integrated search and access control features.\nThe API makes calls to Beagily with a Bearer token included in the Authorization header of each request.\nThis token is separate from  the token included in requests to the API's `/graphql` endpoint and is acquired by the API from Zebra using the credentials of a client referred to as API Client in the instructions below.\nEach Beagily record has an owning user and an access policy which is checked against a context generated by the access token to control access to records.\n\n## Features\n\n* Xilution's IAM Suite ([Elephant](https://products.xilution.com/api/catalog/basics/elephant), [Hippo](https://products.xilution.com/api/catalog/basics/hippo), [Rhino](https://products.xilution.com/api/catalog/basics/rhino) and [Zebra](https://products.xilution.com/api/catalog/basics/zebra)) for identity and access management.\n* Xilution [Fox](https://products.xilution.com/api/catalog/integration/fox) for API hosting.\n* Xilution [Beagily](https://products.xilution.com/api/catalog/basics/beagily) for data storage.\n* [GraphQL](https://graphql.org/) enabled API running on a [Hapi](https://github.com/hapijs/hapi) (NodeJS) server using the [Apollo Server](https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-hapi).\n\n## Prerequisites\n\n1. Create a Xilution Account\n    1. Open [https://prod.register.xilution.com](https://prod.register.xilution.com) to create a Xilution **Prod** account.\n        * :mega: A valid credit card :credit_card: must be associated with your Xilution Account to use Xilution Products in Prod.\n          Use the [Prod environment Xilution Admin Portal](https://prod.portal.xilution.com) to add a Credit Card to your Xilution Account.\n    1. Open [https://test.register.xilution.com](https://test.register.xilution.com) to create a Xilution **Test** account.\n        * Xilution Test and Prod accounts are not synchronized.\n        * Some Xilution products have usage and time to live restrictions in our Test environment.\n          See [product documentation](https://test.products.xilution.com/) for complete restriction details.\n1. Install Docker Desktop: https://www.docker.com/products/docker-desktop\n1. Install NVM: https://github.com/nvm-sh/nvm\n1. Install Yarn: https://yarnpkg.com\n1. Install jq: https://stedolan.github.io/jq/\n1. Install cURL: https://curl.haxx.se/\n\n## General\n\n### To Install Dependencies\n\n1. Run `yarn install` to download dependencies.\n\n### To Verify The Source Code\n\n1. Run `yarn verify`.\n\n## Set Up\n\nThe following instructions are enabled via a large suite of scripts found in the [scripts](./scripts) folder of this repo.\nYou can see the changes made to your account via the scripts through our product portals.\nYou'll authenticate to the portals with your Xilution Account username and password.\n\n| Portal   | Prod                                                      | Test                                                      |\n|----------|-----------------------------------------------------------|-----------------------------------------------------------|\n| Account  | https://prod.portal.xilution.com/                         | https://test.portal.xilution.com/                         |\n| Elephant | https://prod.portal.elephant.basics.xilution.com/         | https://test.portal.elephant.basics.xilution.com/         |\n| Rhino    | https://prod.portal.rhino.basics.xilution.com/            | https://test.portal.rhino.basics.xilution.com/            |\n| Hippo    | https://prod.portal.hippo.basics.xilution.com/            | https://test.portal.hippo.basics.xilution.com/            |\n| Fox      | https://prod.portal.fox.integration.xilution.com/         | https://test.portal.fox.integration.xilution.com/         |\n\n### Environment Variables\n\n1. Run `touch .env` to create a new environment variables file.\n1. Run `echo \"XILUTION_ENVIRONMENT={environment}\" \u003e\u003e.env` to add your environment preference to the environment variables file (.env).\n    * {environment} is a Xilution environment. One of 'test' or 'prod'.\n\n### Account Organization Authentication\n\n1. Run `yarn xln:authentication:token-from-user-credentials`.\n    * You will be prompted for your Xilution Account username and password.\n    * The access token saved to the environment variables file will expire in one hour.\n\n### Account Organization Product Activation\n\nNote: Requires Account Organization Authentication\n\n1. Run `yarn xln:elephant:activate-for-account-organization`.\n1. Run `yarn xln:hippo:activate-for-account-organization`.\n1. Run `yarn xln:rhino:activate-for-account-organization`.\n1. Run `yarn xln:fox:activate-for-account-organization`.\n\n* Run `yarn xln:{product-name}:show-activation-for-account-organization` to see the status of an account organization's product activation.\n    * {product-name} is one of `elephant`, `hippo`, `rhino` or `fox`.\n* Run `yarn xln:{product-name}:deactivate-for-account-organization` to deactivate a product for an account organization.\n\n### Create a Xilution Sub-Organization\n\nNote: Requires Account Organization Authentication\n\n1. Run `yarn xln:elephant:create-sub-organization`.\n\n* :mega: A valid credit card :credit_card: must be associated with your Xilution Sub-Organization to use Xilution Products in Prod.\n  Use the [Prod environment Xilution Elephant Portal](https://prod.portal.elephant.basics.xilution.com/) to add a Credit Card to your Xilution Sub-Organization.\n* To see your Sub-Organizations, run `yarn xln:elephant:show-organizations`.\n* To delete a Sub-Organization, run `yarn xln:elephant:delete-organization {sub-organization-id}`\n    * {sub-organization-id} is a Sub-Organization id.\n\n### Sub-Organization Product Activation\n\nNote: Requires Account Organization Authentication\n\n1. Run `yarn xln:zebra:activate-for-sub-organization`.\n1. Run `yarn xln:beagily:activate-for-sub-organization`.\n\n* Run `yarn xln:{product-name}:show-activation-for-sub-organization` to see the status of a Sub-Organization's product activation.\n    * {product-name} is one of `zebra` or `beagily`.\n* Run `yarn xln:{product-name}:deactivate-for-sub-organization` to deactivate a product for a Sub-Organization.\n\n### Add an API User to the Sub-Organization\n\nNote: Requires Account Organization Authentication\n\n1. Run `yarn xln:rhino:sign-up-api-user {email} {username}`.\n    * {email} is the new user's email address. Enter an email address that you have access to.\n    * {username} is the new user's username.\n    * A verification code will be emailed to the email address you entered when signing up the new user.\n1. Run `yarn xln:rhino:verify-user-email {username} {code}` to verify the new user's email.\n    * {username} is the new user's username.\n    * {code} is the verification code the you received in your email inbox.\n\n* To see the Sub-Organization's users run, `yarn xln:rhino:show-users`.\n* To delete a Sub-Organization's user run, `yarn xln:rhino:delete-user {user-id}`.\n\n### Add an API Client to the Sub-Organization\n\nNote: Requires Account Organization Authentication\n\n1. Run `yarn xln:hippo:create-api-client`.\n\n* To see the Sub-Organization's clients run, `yarn xln:hippo:show-clients`.\n* To delete a Sub-Organization's client run, `yarn xln:hippo:delete-client {client-id}`.\n\n### Sub-Organization Authentication\n\n1. Run `yarn xln:zebra:token-from-api-client-credentials`.\n\n### Prime Beagily with Some Data\n\nNote: Requires Sub-Organization Authentication\n\n1. Run `yarn xln:beagily:create-pet-type`.\n1. Run `yarn xln:beagily:create-pet {name}` a few times, passing some different pet names. \n   * {name} is a pet's name.\n\n## Running Locally\n\n1. Run `export $(grep -v '^#' .env | xargs)` to export environment variables into your current terminal session.\n1. Run `yarn start`.\n    * You can make changes to the source code and nodemon will automatically restart the server when the changes are saved.\n    * Open http://localhost:3123/version in a browser to verify that the server is running.\n    * Open http://localhost:3123/graphql in a browser to see the Apollo Playground.\n        * Requires Authentication. See Example GraphQL Queries and Mutations / Authentication below.\n    * `Ctrl-c` to stop.\n\n## Example GraphQL Queries and Mutations\n\nYou can use variants of the following queries to test your API in the Apollo Playground.\n\n### Authentication\n\nFor each of the following queries and mutations, you'll need to include the following header.\n\n```json\n{\n  \"Authorization\": \"Bearer {xilution-api-access-token}\"\n}\n```\n\n1. Run `yarn xln:zebra:token-from-api-client-credentials` to regenerate an API access token.\n\n1. Run `cat .env | grep XILUTION_API_ACCESS_TOKEN` to see the access token you just generated. You'll need this when you make requests to the API's `graphql` endpoint.\n    * Replace `{xilution-api-access-token}` in the JSON snippet above.\n\n### List Pets\n\n**Query**\n```text\nquery Pets($sort: String, $query: String, $pageNumber: Int, $pageSize: Int) {\n  pets(sort: $sort, query: $query, pageNumber: $pageNumber, pageSize: $pageSize) {\n    data: content {\n      id\n      name\n      createdAt\n      owningUserId\n    }\n    total: totalElements\n  }\n}\n```\n\n**Variables**\n```text\n{\n\t\"pageNumber\": {page-number},\n\t\"pageSize\": {page-size}\n}\n```\n\n### Get Pet\n\n**Query**\n```text\nquery Pets($id: String!) {\n  pet(id: $id) {\n    id\n    name\n    createdAt\n    owningUserId\n  }\n}\n```\n\n**Variables**\n```text\n{\n\t\"id\": \"{pet-id}\"\n}\n```\n\n### Delete Pet\n\n**Mutation**\n```text\nmutation Pets($id: String!) {\n  deletePet(id: $id) {\n    id\n  }\n}\n```\n\n**Variables**\n```text\n{\n\t\"id\": \"{pet-id}\"\n}\n```\n\n### Create Pet\n\n**Mutation**\n```text\nmutation Pets($newPet: NewPet!) {\n  createPet(pet: $newPet) {\n      id\n      name\n      createdAt\n      owningUserId\n  }\n}\n```\n\n**Variables**\n```text\n{\n\t\"newPet\": {\n\t\t\"name\": \"{name}\",\n\t\t\"owningUserId\": \"{owning-user-id}\"\n\t}\n}\n```\n\n### Update Pet\n\n**Mutation**\n```text\nmutation Pets($id: String! $updatedPet: UpdatedPet!) {\n  updatePet(id: $id pet: $updatedPet) {\n      id\n      name\n      createdAt\n      owningUserId\n  }\n}\n```\n\n**Variables**\n```text\n{\n\t\"id\": \"{pet-id}\",\n\t\"updatedPet\": {\n\t\t\"name\": \"{name}\"\n\t}\n}\n```\n\n## Host on Xilution Fox\n\nFox sources Docker images from [Docker Hub](https://hub.docker.com/).\nYou grant Fox access to a Docker image hosted in Docker Hub in one of two ways.\n\n1. Make the image public.\n1. Add `tbrunia` as a [collaborator](https://docs-stage.docker.com/v17.12/docker-hub/repos/#collaborators-and-their-role).\n\n### Build the Docker image\n\nThis tags your docker image as `xilution-graphql-backend-example`.\n\n1. Run `yarn docker:build`.\n\n### To run the Docker image locally\n\n1. Run `export $(grep -v '^#' .env | xargs)` to export environment variables into your current terminal session.\n1. Run `yarn docker:start`.\n    * Open `http://localhost:3123/version` to verify that the server is running.\n    * Because the Docker image was built in production mode, the Apollo Playground is not available.\n    * The GraphQL endpoint can by accessed at `http://localhost:3123/graphql`.\n\n### To stop the Docker image\n\n1. Run `yarn docker:stop`.\n\n### Publish the Docker image to Docker Hub\n\nYou'll need a [Docker Hub](https://hub.docker.com/) account to execute the following.\n\n1. Run `yarn docker:publish {docker_hub_account}` to push the image to your Docker Hub account.\n\n### Create a Fox Instance\n\nNote: Requires Account Organization Authentication\n\nA Fox Instance contains data that instructs Fox on how to run your Docker image.\nYou provision a Fox Instance to start your API.\nLikewise, you deprovision a Fox Instance to stop your API.\n\n1. Run `yarn xln:fox:create-instance {docker_hub_account}`.\n\n* To see your instances, run `yarn xln:fox:show-instances`.\n* To delete a instance, run `yarn xln:fox:delete-instance {fox-instance-id}`.\n\n### Provision the Fox Instance\n\nNote: Requires Account Organization Authentication\n\n1. Run `yarn xln:fox:provision-instance`, to provision the Fox instance.\n1. Run `yarn xln:fox:show-instance-status`, to see the status of your Fox instance.\n    * It can take up to 5 minutes to fully provision your Fox instance.\n    * Provisioning is complete when you see the following.\n        ```json\n        {\n           \"status\": \"CREATE_COMPLETE\"\n        }\n       ```\n    * Now you can access the GraphQL Example running on Fox.\n\n### Access The GraphQL Example Running on Fox\n\n1. Run `cat .env | grep XILUTION_FOX_INSTANCE_ID` to see your Fox Instance ID.\n1. Open `https://{fox-instance-id}.{environment}.fox.integration.xilution.com/version` in a browser to verify that the server is running.\n\nThe Apollo Playground is not available when running in Fox because the Docker image was built in production mode, \n1. The GraphQL endpoint can by accessed at `https://{fox-instance-id}.{environment}.fox.integration.xilution.com/graphql`.\n    * Requires Authentication. See Example GraphQL Queries and Mutations / Authentication above.\n\n### Restart the Fox Instance\n\nNote: Requires Account Organization Authentication and for the Fox instance to be provisioned.\n\nYou can make changes to your API, build and redeploy using the following commands.\n\n1. Run `yarn docker:build`.\n1. Run `yarn docker:publish {docker_hub_account}` to push the image to your Docker Hub account.\n1. Run `yarn xln:fox:restart-instance`, to restart the instance in the Fox managed API hosting service.\n\nWe recommend adding a version endpoint to your API and use it to determine when a new version of your API has been deployed.\n\n### Deprovision the Fox Instance\n\nNote: Requires Account Organization Authentication\n\n1. Run `yarn xln:fox:deprovision-instance`, to deprovision the Fox instance.\n1. Run `yarn xln:fox:show-instance-status`, to see the status of your Fox instance.\n    * It can take up to 5 minutes to fully deprovision your Fox instance.\n    * Deprovisioning is complete when you see the following.\n        ```json\n        {\n           \"status\": \"NOT_FOUND\"\n        }\n       ```\n\n### Delete the Fox Instance\n\nNote: Requires Account Organization Authentication\n\n1. Run `yarn xln:fox:delete-instance {fox-instance-id}`, to delete the Fox instance.\n\n---\nCopyright 2019 Teapot, LLC.  \nXilution is a DBA of Teapot, LLC.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxilution%2Fxilution-graphql-backend-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxilution%2Fxilution-graphql-backend-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxilution%2Fxilution-graphql-backend-example/lists"}