html5 - PouchDB: What to expect on a remote url of the database? -
i trying create offline first mobile app using pouchdb database.
after creating instance of pouchdb, says create remote database, should provide remote database url.
var remotedb = new pouchdb("http://sampleurl.com/sampledb");
now, question is, should setup url (in case: http://sampleurl.com/sampledb) provided run remote database pouchdb?
are there setup needed or provide url , go?
thanks. appreciate help!
just provide url , go! of pouchdb api available communicate remote database.
there useful options , configuration available when creating new instance of pouchdb, such setting headers , default authentication. can read more here: https://pouchdb.com/api.html#create_database
Comments
Post a Comment