App Backend Setup
The app backend is responsible for:
- 1.Authenticating users.
- 2.Generating JWTs to authenticate users against the PowerSync cloud service.
- 3.Writing client-side changes to the SQL database.
An overview of how PowerSync interacts with your backend application.
Authenticating users is outside the scope of PowerSync. A service such as Auth0 may be used, or any other authentication system.
Once a user is authenticated against your app backend, your app backend needs to generate a JWT to authenticate the user against the PowerSync cloud service.