https://github.com/graphql-editor/graphql-editor-integrations
Backend integrations for GraphQL Editor CLI and Stucco infrastructure
https://github.com/graphql-editor/graphql-editor-integrations
Last synced: 11 days ago
JSON representation
Backend integrations for GraphQL Editor CLI and Stucco infrastructure
- Host: GitHub
- URL: https://github.com/graphql-editor/graphql-editor-integrations
- Owner: graphql-editor
- License: mit
- Created: 2023-03-14T11:45:04.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-04-19T11:58:18.000Z (about 2 years ago)
- Last Synced: 2024-04-19T21:05:10.561Z (about 2 years ago)
- Language: TypeScript
- Size: 1.83 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tips for Developers
To build all the integrations just use `npm run build` in root folder.
## Create and update integrations
Integrations are workspaces in root package.json.
When you add new integration you have to generate index.ts file using `gecli gei init`
After you finish updating integration or finish writing the new one, just use `npm run integrate` inside of the integration folder to generate resolvers into stucco.json. You can update all integrations using the same command at the root folder.
## Update sandbox
You can test integrations in sample project in sandbox folder. If you're adding a new resolvers you have to update the schema 'beerpub-graphql-integrations' in the web at graphql-editor and connect resolvers in 'Microservices' section.
To update prepared schema and connected resolvers in stucco.json use command `npm run update` inside of 'packages/sandboxes/rest-users-s3'.