Skip to content
This repository was archived by the owner on Dec 17, 2024. It is now read-only.

Commit 640feca

Browse files
authored
Update README.md
1 parent 6c7efa6 commit 640feca

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
# PowerSync + Firebase + Custom Node.js Backend Flutter Demo: Todo List App
1+
# PowerSync + Node.js + Firebase Auth + Flutter Demo: Todo List App
22

3-
Demo app demonstrating use of the PowerSync SDK for Flutter together with a custom Node.js backend and using Firebase for user auth on the client. This repo can run alongside the [powersync-nodejs-firebase-backend-todolist-demo](https://github.com/powersync-ja/powersync-nodejs-firebase-backend-todolist-demo) for testing and demo purposes.
4-
We suggest you first set up the powersync-nodejs-firebase-backend-todolist-demo before setting up the client as shown in this repo.
3+
Demo app demonstrating use of the PowerSync SDK for Flutter together with a custom Node.js backend and using Firebase for user auth on the client.
4+
5+
This repo can run alongside the [powersync-nodejs-firebase-backend-todolist-demo](https://github.com/powersync-ja/powersync-nodejs-firebase-backend-todolist-demo) for testing and demo purposes.
6+
7+
We suggest you first set up the `powersync-nodejs-firebase-backend-todolist-demo` before setting up the client as shown in this repo.
58

69
# Running the app
710

@@ -15,15 +18,15 @@ flutter run
1518
# Add your Firebase app
1619
Follow the step found in [this page](https://firebase.google.com/docs/flutter/setup?platform=ios) from the Firebase docs to login to your Firebase account and to initialize the Firebase credentials.
1720

18-
# Set up Supabase Project
21+
# Set up Supabase project
1922

2023
Create a new Supabase project, and paste and run the contents of [database.sql](./database.sql) in the Supabase SQL editor.
2124

2225
It does the following:
2326

2427
1. Create `lists` and `todos` tables.
2528
2. Create a publication called `powersync` for `lists` and `todos`.
26-
3. Enable row level security, allowing users to only view and edit their own data.
29+
3. Enable row level security (RLS), allowing users to only view and edit their own data.
2730
4. Create a trigger to populate some sample data when a user registers.
2831

2932
We won't be using the Supabase Flutter SDK for this demo, but rather as a hosted PostgresSQL database that the app connects to.
@@ -46,7 +49,6 @@ bucket_definitions:
4649
4750
# Configure the app
4851
49-
Edit [lib/app_config.dart](./lib/app_config.dart), using the credentials of your new
50-
Supabase and PowerSync projects.
52+
Edit [lib/app_config.dart](./lib/app_config.dart), using the credentials of your new Supabase and PowerSync projects.
5153
5254

0 commit comments

Comments
 (0)