This demo is currently in an alpha release.
Demo app demonstrating use of the PowerSync SDK for Web together with Supabase.
A step-by-step guide on Supabase<>PowerSync integration is available here.
- Run
pnpm install
- Create a
.env
file by copying the templatecp .env.template .env
- Populate the
.env
file with PowerSync and Supabase details - Run
pnpm watch
to build application and check for code changes - In a new terminal run
pnpm start
to start the server - Go to http://localhost:8080
Note: The Angular development server (pnpm serve
) doesn't support service worker applications
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The application will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.