DEV Community

Tirumarai Selvan for Hasura

Posted on • Originally published at blog.hasura.io

Create a Remote Schema to wrap a REST API with Hasura

It is easy to wrap your existing REST API into a GraphQL API. The advantages of these are many:

  1. you can incrementally adopt GraphQL in your existing infrastructure,

  2. you get added benefits over REST APIs like type safety and more readability,

  3. you get a unified API layer for all your APIs.

remote-schema

Read more here: https://blog.hasura.io/create-a-remote-schema-to-wrap-a-rest-api-hasura/

With this guide, you can get started with your GraphQL wrapped REST API in minutes. You can then add this GraphQL service as a Remote Schema in Hasura for automatic schema-stitching so that you get a whole bunch of auto-generated APIs and your own custom logic together in one interface.

Discussion (1)

Collapse
rhymes profile image
rhymes

Amazing how easy it is, thanks Tirumarai!