All Projects → ubie-inc → Kotlin Graphql Sample

ubie-inc / Kotlin Graphql Sample

Licence: apache-2.0
Sample implementation of Kotlin+Spring+GraphQL

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to Kotlin Graphql Sample

Graphql Java Spring Boot Example
Sample GraphQL server implemented with graphql-java and Spring Boot
Stars: ✭ 155 (+124.64%)
Mutual labels:  graphql, spring-boot
Shio
✨ :dna: Shio CMS - Model Content, Use GraphQL and Create Site using Javascript with Native Cache and Search.
Stars: ✭ 119 (+72.46%)
Mutual labels:  graphql, spring-boot
Springboot Restful Angular
springBoot,restful,jwt,angular4 搭建的前后端分离后台管理系统
Stars: ✭ 121 (+75.36%)
Mutual labels:  graphql, spring-boot
Graphql Spring Boot Starter
Spring boot starter for GraphQL
Stars: ✭ 166 (+140.58%)
Mutual labels:  graphql, spring-boot
Graphqlize
A Clojure & JVM library for developing GraphQL API instantly from Postgres and MySQL databases
Stars: ✭ 240 (+247.83%)
Mutual labels:  graphql, spring-boot
Example Kotlin Springboot Graphql
Projeto de exemplo com API GraphQL com dois crud’s simples, utilizando Kotlin, Spring Boot, Gradle etc.
Stars: ✭ 28 (-59.42%)
Mutual labels:  graphql, spring-boot
Graphql Java Tools
A schema-first tool for graphql-java inspired by graphql-tools for JS
Stars: ✭ 667 (+866.67%)
Mutual labels:  graphql, spring-boot
Geekshop
极客商城 ~ 一个面向开发者的、基于Spring+GraphQL+Angular的、无前端(headless)电商框架
Stars: ✭ 52 (-24.64%)
Mutual labels:  graphql, spring-boot
App
Reusable framework for micro services & command line tools
Stars: ✭ 66 (-4.35%)
Mutual labels:  graphql
Ghosttheme Stockholm
👻 📝 ✨ Clean Ghost theme with advanced features & customization.
Stars: ✭ 67 (-2.9%)
Mutual labels:  graphql
Elasticsearch Spring Boot Spring Data
🏆 Starter example for using Elasticsearch repository with Springboot
Stars: ✭ 65 (-5.8%)
Mutual labels:  spring-boot
Microservices Example
Example of a microservices architecture on the modern stack of Java technologies
Stars: ✭ 66 (-4.35%)
Mutual labels:  spring-boot
Graphql Typescript
Define and build GraphQL Schemas using typed classes
Stars: ✭ 67 (-2.9%)
Mutual labels:  graphql
Artemis Dev Tool
An Apollo GraphQL Query Schema Testing Tool
Stars: ✭ 66 (-4.35%)
Mutual labels:  graphql
Springboot security restful api
SpringBoot + SpringSecurity + RESTful API --- Maven Project Demo
Stars: ✭ 68 (-1.45%)
Mutual labels:  spring-boot
Intellij Spring Assistant
Spring Assistant - IntelliJ plugin that assists you in developing spring applications
Stars: ✭ 64 (-7.25%)
Mutual labels:  spring-boot
Eshop Soa
EShop基于Dubbo实现SOA服务化拆分,并基于RocketMQ解决了分布式事务(新版SpringBootSOASkeleton)
Stars: ✭ 65 (-5.8%)
Mutual labels:  spring-boot
Apollo Server Vercel
⚫ Production-ready Node.js GraphQL server for Vercel Serverless Functions
Stars: ✭ 69 (+0%)
Mutual labels:  graphql
Cynic
A bring your own types GraphQL client library for Rust
Stars: ✭ 68 (-1.45%)
Mutual labels:  graphql
Awesome Fluent Graphql
Awesome list of fluent GraphQL clients & examples
Stars: ✭ 67 (-2.9%)
Mutual labels:  graphql

kotlin-graphql-sample

CircleCI

これはUbieが開発しているKotlin+SpringBoot+GraphQLのサンプル実装です。

DB

E-R図

環境構築

Docker

docker-composeを利用してDockerを立ち上げています。それぞれインストールして下さい。 https://docs.docker.com/compose/install/

Editor

どのようなEditorを使っても構いませんが、Ubieでは主にIntellij Ultimateを利用しています。

起動方法

以下のコマンドを実行します。

docker-compose up

起動した状態で http://localhost:8090/graphiql にアクセスすると、GraphiQLにアクセス出来ます。

テスト

テストの実行

docker exec -it sample-app ./gradlew test

上記コマンドにより、テストが実行され、レポートがbuild/reports/tests/test/index.htmlとして出力されます。

コードカバレッジの測定

docker exec -it sample-app ./gradlew jacocoTestReport

テストを実行した後に上記コマンドにより、コードカバレッジの測定が実行され、レポートがbuild/reports/jacoco/test/html/index.htmlとして出力されます。

静的解析ツールの実行

./gradlew ktlintCheck

上記コマンドにより、Kotlinコードのスタイルチェック等の静的解析が実行されます。 レポートがbuild/reports/ktlintに、ktlint-main.txtktlint-test.txtというファイルで出力されます。

また、コード整形を下記のコマンドで実行できます。

./gradlew ktlintFormat

コーディングスタイル

https://github.com/ubie-inc/kotlin-coding-style

Contribution

このプロジェクトはUbieの環境と同期させるため、Ubieの環境と大きく離れてしまう修正は取り込む事が出来ません。

しかし、パッケージ変更を含まない修正であればどんどん取り込みますので、Pull Requestお待ちしております。

もし、どうすればいいかわからないという場合は、一旦issueを挙げてもらえると良いです。日本語か英語どちらでも構いません。

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].