Templates
Barq JS includes app templates under client/barq-js/templates.
Expo Template
Section titled “Expo Template”Path:
client/barq-js/templates/expo-templateThe template includes:
- local app wrapper
- sync app wrapper
- task model
- task list
- add form
- offline mode button
React Native Template
Section titled “React Native Template”Path:
client/barq-js/templates/react-native-templateUse templates as working examples, then replace the task model and screens with your app data.
Sync Config
Section titled “Sync Config”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.