Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 937 Bytes

README.md

File metadata and controls

14 lines (12 loc) · 937 Bytes

This is a (currently read-only) minimalist PowerSync React Native hello world app without Supabase. The goal is to understand and demonstrate the pieces of PowerSync absolutely necessary to get the app functional.

This app assumes:

  1. You have a Postgres database somewhere on the internet that can be hooked up to PowerSync
  2. You have a PowerSync account at JourneyApps, and have set up an instance there, connected to your Postgres database.
  3. You have a publicly accessible (ngrok or otherwise) API url which can serve the /api/get_token/ endpoint to deliver a PowerSync JWT token

Additional notes:

  • You may need to change the table names in AppSchema.ts
  • This app currently does not write data back to the API, it is a read-only app so far.