{"id":19011604,"url":"https://github.com/graphql-editor/gei-crud","last_synced_at":"2025-10-31T10:49:03.523Z","repository":{"id":57711127,"uuid":"513189276","full_name":"graphql-editor/gei-crud","owner":"graphql-editor","description":"GraphQL Editor integration for stucco. Allows basic crud operations and relations.","archived":false,"fork":false,"pushed_at":"2023-03-10T11:18:11.000Z","size":192,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-08-29T22:00:27.172Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/graphql-editor.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-12T15:08:55.000Z","updated_at":"2022-07-12T19:42:05.000Z","dependencies_parsed_at":"2024-11-15T00:02:05.288Z","dependency_job_id":null,"html_url":"https://github.com/graphql-editor/gei-crud","commit_stats":{"total_commits":6,"total_committers":2,"mean_commits":3.0,"dds":"0.33333333333333337","last_synced_commit":"f7f68bfc3b1dbb71e81093b9a981c808378f5f58"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/graphql-editor/gei-crud","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphql-editor%2Fgei-crud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphql-editor%2Fgei-crud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphql-editor%2Fgei-crud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphql-editor%2Fgei-crud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/graphql-editor","download_url":"https://codeload.github.com/graphql-editor/gei-crud/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graphql-editor%2Fgei-crud/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281976632,"owners_count":26592972,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-31T02:00:07.401Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-08T19:14:58.500Z","updated_at":"2025-10-31T10:49:03.482Z","avatar_url":"https://github.com/graphql-editor.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GraphQL Editor Integration - CRUD\n\nThis integration allows basic CRUD operations with mongodb as a database\n\n## How to use in GraphQL Editor\n\n1. Select `Type` and `field` in stucco config\n2. Select `From integration`\n3. Select `gei-crud/Query.objects` for objects or `gei-crud/Mutation.create` for Creation\n\n## How to use in code\n\n```sh\n$ npm i gei-users\n```\n\nAdd this to your `stucco.json` file\n\n```json\n{\n  \"resolvers\": {\n    \"\u003cType\u003e.\u003cfieldName\u003e\": {\n      \"resolve\": {\n        \"name\": \"node_modules/gei-crud/lib/Query/objects\"\n      }\n    },\n    \"\u003cType\u003e.\u003cfieldName\u003e\": {\n      \"resolve\": {\n        \"name\": \"node_modules/gei-crud/lib/Mutation/create\"\n      }\n    }\n  }\n}\n```\n\nwhere `Type` and `fieldName` are defined for your schema, for example:\n\n```json\n{\n  \"resolvers\": {\n    \"Query.posts\": {\n      \"data\": {\n        \"model\": \"Post\"\n      },\n      \"resolve\": {\n        \"name\": \"node_modules/gei-crud/lib/Query/objects\"\n      }\n    },\n    \"Mutation.createPost\": {\n      \"data\": {\n        \"model\": \"Post\"\n      },\n      \"resolve\": {\n        \"name\": \"node_modules/gei-crud/lib/Mutation/create\"\n      }\n    }\n  }\n}\n```\n\nThey need to implement the SDL type parameters.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraphql-editor%2Fgei-crud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgraphql-editor%2Fgei-crud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraphql-editor%2Fgei-crud/lists"}