Skip to content

This project has been developed with Spring Boot, Spring Data JPA, Gradle, Kotlin, Liquibase and PostgreSQL to demonstrate how to build a simple GraphQL API server.

License

Notifications You must be signed in to change notification settings

eduardo-rdguez/springboot-graphql-kotlin

Repository files navigation

Welcome to springboot-graphql-kotlin 🚀

Version Documentation License: MIT Twitter: _eduardguez

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.

Tech specs 🔖

  • 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

Database

Create graphql_kotlin database in PostgreSQL:

CREATE DATABASE graphql_kotlin;

Create graphql_kotlin schema in PostgreSQL:

CREATE SCHEMA IF NOT EXISTS graphql_kotlin;

Run

Environment variable

Activate dev profile using environment variable:

export SPRING_ENV=dev

Runs this project as a Spring Boot application:

gradle bootRun

Build

Assembles this project:

gradle build -x test

Tests

Run tests this project:

gradle test

Clean

Deletes the build directory:

gradle clean

Learn more

Author

License

Copyright © 2021 Eduardo Rodríguez.

This project is MIT licensed.

About

This project has been developed with Spring Boot, Spring Data JPA, Gradle, Kotlin, Liquibase and PostgreSQL to demonstrate how to build a simple GraphQL API server.

Topics

Resources

License

Stars

Watchers

Forks

Languages