Skip to content

Templates

Barq JS includes app templates under client/barq-js/templates.

Path:

client/barq-js/templates/expo-template

The template includes:

  • local app wrapper
  • sync app wrapper
  • task model
  • task list
  • add form
  • offline mode button

Path:

client/barq-js/templates/react-native-template

Use templates as working examples, then replace the task model and screens with your app data.

Template sync settings are kept in sync.config.js.

Some template files still use old Realm-style names. Treat them as app structure examples, then wire Barq sync with your own auth tokens.