This project has been developed to demonstrate how to build a simple GraphQL API server with Spring Boot, Spring Data JPA, Gradle, Kotlin, Liquibase and PostgreSQL.
- Java
8 - Gradle
7.0.2 - Spring Boot
2.5.0 - Spring Data JPA
1.5.10 - Kotlin
1.5.10 - Liquibase
4.4.0 - PostgreSQL
42.2.0
Create graphql_kotlin database in PostgreSQL:
CREATE DATABASE graphql_kotlin;Create graphql_kotlin schema in PostgreSQL:
CREATE SCHEMA IF NOT EXISTS graphql_kotlin;Activate dev profile using environment variable:
export SPRING_ENV=devRuns this project as a Spring Boot application:
gradle bootRunAssembles this project:
gradle build -x testRun tests this project:
gradle testDeletes the build directory:
gradle clean- GraphQL: https://graphql.org/learn/
- Website: https://eduardo-rdguez.github.io/
- Twitter: @_eduardguez
- Github: @eduardo-rdguez
Copyright © 2021 Eduardo Rodríguez.
This project is MIT licensed.