hexmind / graphql-java

graphql-java projects

Home Page:https://www.codenotfound.com/graphql-java

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

graphql-java-weather

Sun, clouds and movies

+-graphql-java-weather---------+ HTTP
|                              +----------------------------> metaweather.com/api
| graphiql-spring-boot-starter |
|                              | GQL              SQL
| graphql-java-tools           +--------> Hasura +----------> Postgres
|                              |               | |            films DB
|                              | remote schema | |
|                              +<- - - - - - - + |
+------------------------------+                 |
                                                 |
  WebSockets                                     |
<------------------------------------------------+

GraphIQL

Tool for writing, validating, and testing GraphQL queries:

http://localhost:8081/graphiql

Example query:

{
  searchPlace(query:"NEW YORK") {
    title
    films {
      title
      releaseYear
    }
    forecast {
      consolidatedWeather {
        applicableDate
        theTemp
      }
    }    
  }
}

About

graphql-java projects

https://www.codenotfound.com/graphql-java

License:MIT License


Languages

Language:Java 100.0%