/plushcap/analysis/cloudflare/modernizing-a-familiar-approach-to-rest-apis-with-postgresql-and-cloudflare-workers

Modernizing a familiar approach to REST APIs, with PostgreSQL and Cloudflare Workers

What's this blog post about?

Postgres is a popular open-source SQL database technology widely used in the industry due to its vast features and reliability. It serves as a foundation for many modern developer experience tools, such as Hasura and Supabase. Many developers use REST APIs to interact with their data, and language-specific libraries like pg allow them to connect with Postgres directly. Cloudflare Workers has released a tutorial on connecting to Postgres inside Workers functions using PostgREST. This enables developers to build applications entirely on Cloudflare's edge, utilizing Workers as a performant API and Cloudflare Pages for the frontend user interface. By using PostgREST with Postgres, developers can build REST API-based applications that are an excellent fit for Cloudflare Workers.

Company
Cloudflare

Date published
Aug. 4, 2021

Author(s)
Kristian Freeman

Word count
742

Language
English

Hacker News points
8


By Matt Makai. 2021-2024.