Build a local-first mobile app with PowerSync — embed a SQLite database, sync from Postgres, handle offline writes and conflict resolution, and stream real-time changes.