Turn your Python REST API to GraphQL using Hasura Actions
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.
Company
Hasura
Date published
Aug. 14, 2020
Author(s)
Praveen Durairaju
Word count
1519
Hacker News points
None found.
Language
English