{"id":21156946,"url":"https://github.com/resilientecosystem/resilientdb-ag-graphql","last_synced_at":"2025-03-14T15:24:01.844Z","repository":{"id":221705988,"uuid":"754995981","full_name":"ResilientEcosystem/ResilientDB-Ag-GraphQL","owner":"ResilientEcosystem","description":null,"archived":false,"fork":false,"pushed_at":"2024-02-09T18:02:04.000Z","size":36,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T08:45:10.851Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ResilientEcosystem.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2024-02-09T07:52:20.000Z","updated_at":"2024-11-01T15:41:47.000Z","dependencies_parsed_at":"2024-02-09T18:49:15.685Z","dependency_job_id":null,"html_url":"https://github.com/ResilientEcosystem/ResilientDB-Ag-GraphQL","commit_stats":null,"previous_names":["amoolya-reddy/resilientdb-ag-graphql-wrapper","amoolya-reddy/resilientdb-ag-graphql","resilientdb/resilientdb-ag-graphql"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ResilientEcosystem%2FResilientDB-Ag-GraphQL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ResilientEcosystem%2FResilientDB-Ag-GraphQL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ResilientEcosystem%2FResilientDB-Ag-GraphQL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ResilientEcosystem%2FResilientDB-Ag-GraphQL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ResilientEcosystem","download_url":"https://codeload.github.com/ResilientEcosystem/ResilientDB-Ag-GraphQL/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243598763,"owners_count":20317019,"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","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-20T11:55:35.204Z","updated_at":"2025-03-14T15:24:01.824Z","avatar_url":"https://github.com/ResilientEcosystem.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ResilientDB-Ag-GraphQL\r\n\r\nThis project serves as a GraphQL wrapper for the existing [GraphQL APIs](https://github.com/apache/incubator-resilientdb-graphql), providing specific APIs used for Agricultural applications.\r\n\r\n\r\n## Table of Contents\r\n\r\n- [Installation](#installation)\r\n- [Usage](#usage)\r\n- [API Reference](#api-reference)\r\n- [Contributing](#contributing)\r\n\r\n## Installation\r\n\r\n1. Clone the repository:\r\n\r\n   ```bash\r\n   git clone https://github.com/Amoolya-Reddy/ResilientDB-Ag-GraphQL-Wrapper\r\n\r\n2. Install Dependencies:\r\n\r\n   ```bash\r\n    cd ResilientDB-Ag-GraphQL-Wrapper\r\n    npm install\r\n\r\n## Usage\r\n\r\n1. Start the GraphQL server:\r\n\r\n   ```bash\r\n    npm start\r\n\r\n2. Access the GraphQL Apollo Playground at http://localhost:4000 to explore and interact with the GraphQL API.\r\n\r\n## API Reference\r\n\r\nIn addition to the existing base APIs on the [ResilientDB GraphQL server](https://github.com/apache/incubator-resilientdb-graphql), the wrapper supports the addition of new queries and mutations below.\r\n\r\n**Query: getProductStages**\r\n\r\n* Retrieves the list of stages through which a product progresses before reaching its final form.\r\n\r\n   ```bash\r\n     query {\r\n       getProductStages(productName: String!) {\r\n                       id\r\n                       version\r\n                       metadata\r\n                       operation\r\n                       asset\r\n                       publicKey\r\n                       uri\r\n                       type\r\n       }\r\n       }\r\n\r\n\r\nargs: productName(Required)\r\n\r\n## Contributing\r\n\r\nFeel free to contribute by opening issues or submitting pull requests.\r\n\r\n1. Fork the project.\r\n2. Create your feature branch: git checkout -b feature/new-feature\r\n3. Commit your changes: git commit -m 'Add new feature'\r\n4. Push to the branch: git push origin feature/new-feature\r\n5. Open a pull request.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fresilientecosystem%2Fresilientdb-ag-graphql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fresilientecosystem%2Fresilientdb-ag-graphql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fresilientecosystem%2Fresilientdb-ag-graphql/lists"}