My App

Supabase

Supabase is a Backend as a Service for the RateAll app

Prerequisites

  • Supabase CLI
  • Docker
  • Node.js

Install Supabase CLI

Supabase CLI

Supabase Local Development

supabase start

In order to serve supabase edge function run the following command:

supabase functions serve --env-file .env

Also you shoud create env file in the root(supabase) of the project and add the following variables:

DATABASE_URL=postgresql://postgres:postgres@db:5432/postgres

Supabase Edge Functions

Supabase Edge Functions are a way to run code on the server side.

Supabase Auth