Querying SQL from React without a backend (bear with me here)

This page summarizes the projects mentioned and recommended in the original post on /r/reactjs

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • postgrest

    REST API for any Postgres database

  • PostgREST is what you are looking for. If you don't want to set it up yourself, supabase is a basically a hosted version of PostgREST (and more, but the rest is likely irrelevant for you).

  • thin-backend

    🔥 Thin Backend is a Blazing Fast, Universal Web App Backend for Making Realtime Single Page Apps

  • Check out Thin Backend. It provides a simple way to query your Postgres Database with TypeScript and React Hooks. For displaying simple tables quickly, you might also like the CRUD table component :)

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • supabase

    The open source Firebase alternative.

  • PostgREST is what you are looking for. If you don't want to set it up yourself, supabase is a basically a hosted version of PostgREST (and more, but the rest is likely irrelevant for you).

  • Prisma

    Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB

  • I am using Prisma https://www.prisma.io/ which works perfectly for my personal website.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts