Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQL to REST translator #25978

Merged
merged 74 commits into from May 22, 2024
Merged

SQL to REST translator #25978

merged 74 commits into from May 22, 2024

Conversation

gregnr
Copy link
Member

@gregnr gregnr commented May 10, 2024

SQL to REST translator. Allows you to write SQL and output the equivalent PostgREST request, or Supabase client lib code. Currently supports cURL, raw HTTP, and supabase-js.

Currently located in the docs. Opportunity to bring to studio in a future iteration.

Demo link

https://docs-git-feat-sql-to-rest-supabase.vercel.app/docs/guides/api/sql-to-rest

How it works

SQL to REST diagram

Lib details

Core lib has been separated into its own repo: https://github.com/supabase-community/sql-to-rest

Unit tests are included in the lib for every supported feature.

apps/docs/content/guides/api/sql-to-rest.mdx Outdated Show resolved Hide resolved
packages/ui-patterns/SqlToRest/base-url-dialog.tsx Outdated Show resolved Hide resolved
apps/studio/jest.config.mjs Outdated Show resolved Hide resolved
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants