This is demonstration of running Supabase locally in tandem with our React Supabase Todolist demo.
Follow the instructions for configuring Supabase locally.
Copy the environment variables template file
cp .env.template .env
Start the Supabase project
supabase start
Once started the console will contain details for the Supabase services. Apply the anon key
to the .env
file.
Note: Default Supabase projects expose the Postgres DB on a high port number. We currently only support ports in the range of port >= 1024 && port <= 49151
. This demo configures Postgres on port 5433
.
Start the demonstration with docker compose up
The frontend should be available at http://localhost:4170
Note that there is a known issue with the client. It will present busy with sync
until an item has been created. This is due to no data being present in the Postgres database. Create a todo list item to skip past this.