You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+35-19Lines changed: 35 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,18 +4,9 @@
4
4
5
5
A templated Vite, TS, React, PowerSync and Supabase project to get you started quickly with building offline-first applications with PowerSync and Supabase.
| PowerSync | Active account required |[Sign up here](https://accounts.journeyapps.com/portal/powersync-signup)|
89
+
| Supabase | Active project/account |[Sign up here](https://supabase.com/dashboard/sign-up)|
74
90
75
-
# Backend Setup
91
+
###Backend Setup
76
92
This section guides you through setting up the backend using Supabase and PowerSync. Follow the steps below to configure your backend environment.
77
93
78
-
## 1. Setup Supabase
94
+
####1. Setup Supabase
79
95
Follow these steps to set up your backend with Supabase and PowerSync (Or you can follow the [guide](https://docs.powersync.com/integration-guides/supabase-+-powersync)).
80
96
81
97
<details>
@@ -104,7 +120,7 @@ If you prefer using the Supabase CLI, you can set up your project as follows:
104
120
105
121
</details>
106
122
107
-
## 2. Setup PowerSync Instance and Connect to Supabase
123
+
####2. Setup PowerSync Instance and Connect to Supabase
108
124
109
125
You can set up your PowerSync instance using either the Dashboard or CLI approach:
110
126
@@ -172,7 +188,7 @@ Follow the prompts to configure:
172
188
173
189
</details>
174
190
175
-
## 3. Deploy Sync Rules
191
+
####3. Deploy Sync Rules
176
192
177
193
<details>
178
194
<summary><strong>Option 1: Using CLI (if you used CLI setup above)</strong></summary>
@@ -190,7 +206,7 @@ The sync rules are already deployed if you followed the CLI setup steps above.
190
206
191
207
</details>
192
208
193
-
## 4. Set up environment
209
+
####4. Set up environment
194
210
195
211
First, copy the environment template file:
196
212
```bash
@@ -223,4 +239,4 @@ VITE_POWERSYNC_URL=
223
239
1. Go to your [PowerSync Dashboard](https://powersync.journeyapps.com/)
224
240
2. Select your project
225
241
3. Navigate to your PowerSync instance
226
-
4. Copy the "Instance URL" for `VITE_POWERSYNC_URL`
242
+
4. Copy the "Instance URL" for `VITE_POWERSYNC_URL`
0 commit comments