# GraphQLServer

**GraphQLServer** exposes your data as a GraphQL API. Client applications can connect to your GraphQL server to query your data.

***

## Properties

### Schema

The GraphQL schema for your GraphQL server.

Click on the **\[...]** icon to open the **Schema editor**.

An event is automatically created for each query that is included in the schema, as shown below:

<figure><img src="https://3338214469-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1nxDeDH8GVCXb0XelqGm%2Fuploads%2Fgit-blob-92fa57e286808786d77a5a5472cf71ef36c3e995%2Fgraphqlserver1.png?alt=media" alt="GraphQL Schema"><figcaption></figcaption></figure>

You can add any Linx functions to the events to handle the requests sent to your GraphQL service.

### Base URL

The URL where the GraphQL server will be published, e.g. `http://localhost:8024/MyGraphQLServer`.

### Show server errors

Show details for internal server errors in HTTP responses.

### Max connections

The maximum number of concurrent connections to accept.

### Max request size

The maximum allowed size of any request body in megabytes.

### CORS origins

A list of allowed origin URLs for cross-origin resource sharing.

### Scheme

The security scheme to use.

### Before operation

Show the Before-Operation event handler. This handler will execute before the execution of any operation.

### After operation

Show the After-Operation event handler. This handler will execute after the execution of any operation.

***

## Links

[graphql.org](https://graphql.org/)

[howtographql.com](https://www.howtographql.com/)

[towardsdatascience.com](https://towardsdatascience.com/learning-graphql-4e913f12640d)
