Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gaku-sei/kotlin-graphql
Playing with Kotlin and Graphql
https://github.com/gaku-sei/kotlin-graphql
Last synced: 19 days ago
JSON representation
Playing with Kotlin and Graphql
- Host: GitHub
- URL: https://github.com/gaku-sei/kotlin-graphql
- Owner: gaku-sei
- Created: 2021-01-20T09:28:01.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-02-18T09:50:33.000Z (almost 4 years ago)
- Last Synced: 2024-11-05T13:12:44.263Z (2 months ago)
- Language: Kotlin
- Size: 61.5 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Kotlin POC and experiments
Kotlin GraphQL server. Built with the following libraries:
- https://www.http4k.org/ - Web app builder
- https://github.com/JetBrains/Exposed - ORM
- https://github.com/ExpediaGroup/graphql-kotlin - GraphQL builder## Gradle tasks
- `./gradlew run` to start the project.
It's the only command you'll need to get started, dependencies will be installed, and migrations performed the first time you run this command.- `./gradlew compileKotlin --continuous` to compile and watch the Kotlin code only. Pretty fast and convenient.
- `./gradlew test` to run the tests
- `./gradlew tasks` to list all the available tasks
## Requesting the API
You can use an external GraphQL client to send requests to the API on [http://localhost:8000/graphql](http://localhost:8000/graphql).