{"id":20354395,"url":"https://github.com/hemerajs/graphql-hemera","last_synced_at":"2025-04-12T02:33:11.909Z","repository":{"id":76944131,"uuid":"79743023","full_name":"hemerajs/graphql-hemera","owner":"hemerajs","description":"Skeleton (or boilerplate) with Hemera \u0026 GraphQL","archived":false,"fork":false,"pushed_at":"2019-03-05T20:54:43.000Z","size":585,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T02:31:49.447Z","etag":null,"topics":["graphql","hemera","miroservice"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/hemerajs.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}},"created_at":"2017-01-22T20:19:46.000Z","updated_at":"2021-04-13T21:36:19.000Z","dependencies_parsed_at":"2024-01-23T21:15:57.770Z","dependency_job_id":"2cbfcbd0-3860-4a28-aa22-7905a991efc8","html_url":"https://github.com/hemerajs/graphql-hemera","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hemerajs%2Fgraphql-hemera","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hemerajs%2Fgraphql-hemera/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hemerajs%2Fgraphql-hemera/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hemerajs%2Fgraphql-hemera/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hemerajs","download_url":"https://codeload.github.com/hemerajs/graphql-hemera/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248506909,"owners_count":21115507,"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":["graphql","hemera","miroservice"],"created_at":"2024-11-14T23:08:26.385Z","updated_at":"2025-04-12T02:33:11.891Z","avatar_url":"https://github.com/hemerajs.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"## What is GraphQL?\n\nGraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data. GraphQL provides a complete and understandable description of the data in your API, gives clients the power to ask for exactly what they need and nothing more, makes it easier to evolve APIs over time, and enables powerful developer tools.\n\n[![preview](https://github.com/hemerajs/graphql-hemera/blob/master/media/preview.PNG)](http://localhost:3000/graphql)\n\n## What is Hemera?\n\n[Hemera](https://github.com/hemerajs/hemera) is a small wrapper around the official [NATS](https://nats.io/) driver. [NATS](https://nats.io/) is a simple, fast and reliable solution for the internal communication of a distributed system.\n\n## Introduction\n\nThis demo demonstrate how you can use Hemera for resolving your GraphQL queries. Because of the flexibility of GraphQL you have to deal with many resolvers Hemera can help you to manage this in a very simple and flexible way. Combine GraphQL with the power of pattern matching.\n\nHere you can see a simple example to resolve a graphql query with Hemera. Hemera act as a api gateway to your services.\nIf you want to extend the demo you have to follow some steps:\n\n1. Add a GraphQL  primitive to the [schema](/src/graphql/schema.graphql).\n2. Add a [resolver](/src/graphql/resolvers.js) bridge to your hemera service.\n3. Implement your Hemera service [resolver](/src/plugins/user-management/index.js).\n\nThis demo also provide a sample GraphQL  subscription. Subscriptions allows to push messages to the client in realtime.\n[Here](/demo.md) you can find some GraphQL  queries which can be executed in the playground.\n\n## Getting started\n\n1. [Downloads](https://nats.io/download/) NATS\n2. Start NATS `./gnatsd`\n3. Start the application\n```js\nnpm install\nnpm start\n```\n\n## GraphiQL Dashboard\n\n```\nhttp://localhost:3000/graphql\n```\n\n## GraphQL endpoint\n\n```\nhttp://localhost:3000/graphql\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhemerajs%2Fgraphql-hemera","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhemerajs%2Fgraphql-hemera","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhemerajs%2Fgraphql-hemera/lists"}