{"id":13726040,"url":"https://github.com/aPureBase/KGraphQL","last_synced_at":"2025-05-07T21:31:02.681Z","repository":{"id":35758676,"uuid":"184054381","full_name":"aPureBase/KGraphQL","owner":"aPureBase","description":"Pure Kotlin GraphQL implementation","archived":false,"fork":true,"pushed_at":"2024-06-24T21:50:03.000Z","size":2658,"stargazers_count":305,"open_issues_count":56,"forks_count":58,"subscribers_count":10,"default_branch":"main","last_synced_at":"2024-11-14T16:44:57.146Z","etag":null,"topics":["graphql","kotlin"],"latest_commit_sha":null,"homepage":"https://kgraphql.io","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"pgutkowski/KGraphQL","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aPureBase.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-04-29T10:59:16.000Z","updated_at":"2024-11-13T06:24:28.000Z","dependencies_parsed_at":"2023-02-15T07:45:38.185Z","dependency_job_id":null,"html_url":"https://github.com/aPureBase/KGraphQL","commit_stats":null,"previous_names":[],"tags_count":75,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aPureBase%2FKGraphQL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aPureBase%2FKGraphQL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aPureBase%2FKGraphQL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aPureBase%2FKGraphQL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aPureBase","download_url":"https://codeload.github.com/aPureBase/KGraphQL/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252957121,"owners_count":21831438,"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","kotlin"],"created_at":"2024-08-03T01:02:49.878Z","updated_at":"2025-05-07T21:31:02.115Z","avatar_url":"https://github.com/aPureBase.png","language":"Kotlin","readme":"# KGraphQL\n[![Maven Central](https://img.shields.io/maven-central/v/com.apurebase/kgraphql.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22com.apurebase%22%20AND%20a:%22kgraphql%22)\n[![Awesome Kotlin Badge](https://kotlin.link/awesome-kotlin.svg)](https://github.com/KotlinBy/awesome-kotlin)\n[![Chat](https://img.shields.io/badge/chat-on%20slack-green.svg)](https://kotlinlang.slack.com/messages/kgraphql)\n\nKGraphQL is a [Kotlin](https://kotlinlang.org/) implementation of [GraphQL](http://graphql.org/). It provides a rich DSL to set up the GraphQL schema.\n\n\n```kotlin\ndata class Article(val id: Int, val text: String)\n\nfun main() {\n    val schema = KGraphQL.schema {\n        query(\"article\") {\n            resolver { id: Int?, text: String -\u003e\n                Article(id ?: -1, text)\n            }\n        }\n        type\u003cArticle\u003e {\n            property\u003cString\u003e(\"fullText\") {\n                resolver { article: Article -\u003e\n                    \"${article.id}: ${article.text}\"\n                }\n            }\n        }\n    }\n\n    schema.execute(\"\"\"\n        {\n            article(id: 5, text: \"Hello World\") {\n                id\n                fullText\n            }\n        }\n    \"\"\".trimIndent()).let(::println)\n}\n```\n\n## Documentation\nSee the [documentation](https://kgraphql.io/) for a more detailed explanation of the library.\n\n## Contributing\n\nAll contributions are welcome. Feel free to open issues and PRs!\n\n## Building\n\nTo build KGraphQL you only need to have JDK8 installed. invoke\n\n```bash\n./gradlew build\n```\n\nTo perform local build.\n\n## Versioning\n\nThe versioning is following [Semantic Versioning](http://semver.org/)\n\n## Links\n\nSpecification : http://facebook.github.io/graphql/\n\n## License\n\nKGraphQL is Open Source software released under the [MIT license](https://opensource.org/licenses/MIT)\n","funding_links":[],"categories":["Implementations","Kotlin"],"sub_categories":["Kotlin"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FaPureBase%2FKGraphQL","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FaPureBase%2FKGraphQL","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FaPureBase%2FKGraphQL/lists"}