Note: This is not intended as a template in RHMAP 3.x or RHMAP 4.x
A basic list application that uses the FeedHenry data synchronisation framework.
This can be used in conjunction with the FeedHenry Sync Server. The fh-sync-js library is used to connect to FeedHenry Sync Server.
- Have a sync server running on localhost port
8001
. - Install dependencies, run
npm install
. This will also runbrowserify
. - Start the app, run
grunt serve
.
- Modify the
uri
value insync-config.json
to point to an accessible sync server. - Follow Cordova documentation for building the app.
- Make sure your sync server is up and running. "OK" response should be received upon sending
GET
request to URI specified insync-config.json
. - Run
npm install
(justgrunt browserify
might be sufficient) and re-build the app (re-rungrunt serve
if working locally).