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

Using GraphQL to join data across Google Places API and Postgres to build location based apps

Blog post from Hasura

Post Details
Company
Date Published
Author
Praveen Durairaju
Word Count
511
Company Posts That Month
10
Language
English
Hacker News Points
-
Post removed?
No
Summary

This article discusses using Hasura Remote Joins to join geography data from PostGIS extension in a Postgres database with Google Places API in GraphQL. It explains how to enable the PostGIS extension on Postgres and insert sample user location data. The author then demonstrates how to fetch nearby restaurants' information using Google Places API as a REST API, adding it as a Remote Schema in Hasura Console. Finally, the article provides an example of a GraphQL query that fetches this data in a single API call by joining the Postgres and Google Places API data.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.