-
Notifications
You must be signed in to change notification settings - Fork 49
server_faq
The server is a Spring Boot app or servlet. It is configured through one of the application.properties
or the application.yml
files. It should be available in the root of the classpath, so you should provide is in the project's src/main/resources folder.
The below sample is based on the allGraphQLCases-server, available as a sample in the Maven and Gradle projects:
# Changing the port for the GraphQL server
server:
port: 8180
# Changing the server path
graphql:
url: /my/updated/graphql/path
Everything is explained in the server OAuth2 page
You can find a sample, with the OAuth2 configuration, that includes configuring Spring Security beans.
The generated code is created from Velocity templates. You can override any of these templates, according to your needs.
You'll find the needed info on the Custom Templates page.
Creating a first app (non spring)
Connect to more than one GraphQL servers
Easily execute GraphQL requests with GraphQL Repositories
Access to an OAuth2 GraphQL server
How to personalize the client app
Howto personalize the generated code
Client migration from 1.x to 2.x
Implement an OAuth2 GraphQL server
Howto personalize the generated code
Server migration from 1.x to 2.x