Skip to content

Yamavu/PouchDB_on_CouchDB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PouchDB_on_CouchDB

A sample project for running PouchDB on a CouchDB Showcase

These files are supposed to go into a CouchDB .

Open '''app.js''' and replace "todo" in ´var db = new PouchDB("todo");´ with your database URL (like .iriscouch.com/)

// EDITING STARTS HERE (you dont need to edit anything above this line)

  var db = var db = new PouchDB("todo");
  

In Futon create a new database and create a new document with the ID "webpage" and add the following files as attachments

  • app.js
  • base.css
  • bg.png
  • index.html

To make it all work, one must enable CORS in the config (hope I or pouchDB can fix this in the future)

[httpd]
enable_cors = true

[cors]
origins = *

This is basically A simple Task-list application in CouchDB with PouchDB support

About

A sample project for running PouchDB on a CouchDB Showcase

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published