Home / Companies / Hasura / Blog / Post Details
Content Deep Dive

Turn your Python REST API to GraphQL using Hasura Actions

Blog post from Hasura

Post Details
Company
Date Published
Author
Praveen Durairaju
Word Count
1,519
Language
English
Hacker News Points
-
Summary

This tutorial demonstrates how to convert a Python REST API to GraphQL using Hasura Actions. It involves setting up a Hasura Cloud project and creating an Action with the necessary types and definitions. The process includes generating boilerplate code for a Flask server, defining business logic, and exposing the server on a public URL using ngrok. The tutorial also covers connecting to a database from inside the Flask server, managing permissions and relationships, handling existing REST API endpoints, and supported frameworks.