-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
54 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Stripe Connector | ||
|
||
## Overview | ||
|
||
The Stripe Data Connector provides an instant adapter for Engine v3 to request Stripe resources via GraphQL. This connector is built upon the [REST connector](https://github.com/hasura/ndc-rest) and [Stripe's OpenAPI Specification](https://github.com/stripe/openapi). | ||
|
||
- [GitHub Repository](https://github.com/hasura/ndc-stripe) | ||
|
||
## Prerequisites | ||
|
||
1. Create a [Hasura Cloud account](https://console.hasura.io) | ||
2. Please ensure you have the [DDN CLI](https://hasura.io/docs/3.0/cli/installation) and | ||
[Docker](https://docs.docker.com/engine/install/) installed | ||
3. [Create a supergraph](https://hasura.io/docs/3.0/getting-started/init-supergraph) | ||
4. [Create a subgraph](https://hasura.io/docs/3.0/getting-started/init-subgraph) | ||
|
||
The steps below explain how to initialize and configure a connector on your local machine (typically for development | ||
purposes).You can learn how to deploy a connector to Hasura DDN — after it's been configured — | ||
[here](https://hasura.io/docs/3.0/getting-started/deployment/deploy-a-connector). | ||
|
||
## Using the Stripe connector | ||
|
||
With the [context set](https://hasura.io/docs/3.0/cli/commands/ddn_context_set/) for an existing subgraph, initialize | ||
the connector by choosing `hasura/stripe`. When the wizard runs, you'll also be prompted to enter the following env | ||
vars necessary for your connector to function. | ||
|
||
After the CLI initializes the connector, you'll need to: | ||
|
||
- [Introspect](https://hasura.io/docs/3.0/cli/commands/ddn_connector_introspect) the source. | ||
- Add your [models](https://hasura.io/docs/3.0/cli/commands/ddn_model_add) and | ||
[commands](https://hasura.io/docs/3.0/cli/commands/ddn_command_add). | ||
- Create a [new build](https://hasura.io/docs/3.0/cli/commands/ddn_supergraph_build_local). | ||
- Test it by [running your project along with the connector](https://hasura.io/docs/3.0/cli/commands/ddn_run#examples | ||
|
||
See all available variables [here](https://github.com/hasura/ndc-stripe#environment-variables). | ||
|
||
## License | ||
|
||
The Hasura Stripe connector is available under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). |
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,35 +5,22 @@ | |
"title": "Stripe Data Connector", | ||
"logo": "logo.svg", | ||
"tags": [], | ||
"latest_version": "v0.2.1" | ||
"latest_version": "v0.2.3" | ||
}, | ||
"author": { | ||
"support_email": "[email protected]", | ||
"homepage": "https://hasura.io", | ||
"name": "Hasura" | ||
}, | ||
"is_verified": true, | ||
"is_hosted_by_hasura": false, | ||
"packages": [ | ||
{ | ||
"version": "v0.2.1", | ||
"uri": "https://github.com/hasura/ndc-stripe/releases/download/v0.2.1/connector-definition.tgz", | ||
"checksum": { | ||
"type": "sha256", | ||
"value": "c805f655843881bebe1056b386954df9d7d9d3b33138342a5b7ed4480b8a4c02" | ||
}, | ||
"source": { | ||
"hash": "3ae2790c8aff6bc6dd386a60809c6149158b5557" | ||
} | ||
} | ||
], | ||
"is_hosted_by_hasura": true, | ||
"source_code": { | ||
"is_open_source": true, | ||
"repository": "https://github.com/hasura/ndc-stripe", | ||
"version": [ | ||
{ | ||
"tag": "v0.2.1", | ||
"hash": "3ae2790c8aff6bc6dd386a60809c6149158b5557", | ||
"tag": "v0.2.3", | ||
"hash": "71956bc9cc3eb1c08c0f22441a8c9d106dc6cea8", | ||
"is_verified": true | ||
} | ||
] | ||
|
11 changes: 11 additions & 0 deletions
11
registry/hasura/stripe/releases/v0.2.3/connector-packaging.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"version": "v0.2.3", | ||
"uri": "https://github.com/hasura/ndc-stripe/releases/download/v0.2.3/connector-definition.tgz", | ||
"checksum": { | ||
"type": "sha256", | ||
"value": "01c3b462cfc89e78cbf72f8713c59c67d2c13b3054a16f39a584e293bee6ab10" | ||
}, | ||
"source": { | ||
"hash": "71956bc9cc3eb1c08c0f22441a8c9d106dc6cea8" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.