If you’re using Postgres (say as a part of your backend stack, say Ruby on Rails, Django) you can easily try out GraphQL APIs on top of your existing database with the Hasura GraphQL engine.
It is as simple as exporting and importing the database with the tools that you are familiar with (pg_dump
and psql)!
The Hasura GraphQL engine works without you going through the effort of writing schema, resolvers etc. You model your schema in Postgres and we expose it over GraphQL with declarative permissions so that you have access control.
I’ve made a 2 minute video of me taking a dump (🚽 har har) of the Chinook database and exposing GraphQL on it. Check it out and let me know what you think!
Hasura gives you instant realtime GraphQL APIs over any Postgres database without having to write any backend code.
For those of you who are new to the Hasura GraphQL engine, this is a good place to get started.
Top comments (0)