Skip to content

Softsapiens/springboot-graphql-song

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

springboot-graphql-song

badge

Abstract

An experiment using a GraphQL backend in Java Spring exposing a generic searchable/aggregable API. Apart from learning purposes, the goal is to evaluate the graphql state-of-art in Java with required features as look-ahead and dataloader optimizations.

Development Guide

Some development docs here.

Warm & Run

mvn compile
mvn test

mvn spring-boot:run

Dockerize

By executing:

mvn package

A docker image named springboot-graphql-song and tagged with current commit time and commit id abbreviated, for examples:

$ docker images
REPOSITORY                  TAG                           IMAGE ID            CREATED             SIZE
springboot-graphql-song     2020-05-28T17-23-36.1f4f5d6   a6d8cce143aa        9 minutes ago       430MB

Finally an instance could be started by:

docker run -ti --rm --name graphql-song -p 8080:8080 springboot-graphql-song:2020-05-28T17-31-30.1f4f5d6

The Holy Grail

It is pending trying to run it using Graalvm.

Requests

Some requests examples are here

Tech Stack

About

An experiment using a GraphQL backend in Java Spring.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published