Supabase Backend
Hey folks, I was looking to integrate supabase's backend apis with one of my projects, but I can't seem to find the repository for the apis that send the data for the studio or the databases. It would be great if somebody pointed me to the repo, or directory where I can find them. I looked through the supabase repo and I could only find the frontend part there.
6 Replies
Studio is Supabase/supabase. PostgREST.org is database API.
Supabase/studio just contains the frontend right? where you are consuming the apis from the backend for showing the data. I want to know where those apis are written. I went through the supabase/postgrest-js repo and I guess that is your custom package that people can use in their own apis for interacting with a postgres database. It is not being used in the supabase/supabase repo.
Studio uses several different methods to inter each with the different comments of Supabase. This is one I believe they use for database access. https://github.com/supabase/postgres-meta
I’ve never seen them document how and what they use but it would all be open source as self hosting does most thing hosted does. You may need to go thru the studio source to see what they do for the specific cases you are interested in.
GitHub
GitHub - supabase/postgres-meta: A RESTful API for managing your Po...
A RESTful API for managing your Postgres. Fetch tables, add roles, and run queries - GitHub - supabase/postgres-meta: A RESTful API for managing your Postgres. Fetch tables, add roles, and run queries
I am trying to run the postgres-meta repo from supabase and I followed the instructions in the dockerfile to build the binary, but whenever I run jest I am getting this error, even though my jest configuration clearly contains the required specifications
{
"include": ["src"],
"compilerOptions": {
"incremental": true,
"declaration": true,
"declarationMap": true,
"module": "es2022",
"outDir": "dist",
"rootDir": "src",
"sourceMap": true,
"target": "es2021",
"strict": true,
"esModuleInterop": true,
"moduleResolution": "node",
"resolveJsonModule": true,
"forceConsistentCasingInFileNames": true,
"stripInternal": true
}
}
Could you help me with this please?

I can't. I've never used it. You probably want to start a new question with that in the postgres-meta in the title. I don't think it comes up much here though.
Sure, thanks for the suggestion.