Skip to content

Connecting Your Frontend

To connect your frontend applications to the Slicknode backend, you can use pretty much any GraphQL client.

Choosing a Client

There are two clients available that automatically add authentication headers, keep track of expiration times for the auth tokens and refresh the tokens in the background without interruption to the client.

slicknode-apollo-link adds easy setup and handling of authentication and automatic token refresh.

Recommended for most frontend applications (React, Vue, Angular, iOS, Android etc.)

  • slicknode-client: A lightweight GraphQL client that handles authentication headers and refreshes Slicknode auth tokens automatically.

Recommended for simple applications and access from other backends / Slicknode handlers.

Info

To learn more about the authentication process with Slicknode GraphQL servers, read the authentication documentation.