{"id":33091714,"url":"https://github.com/danielzen/ionic-pouchdb-todo","last_synced_at":"2025-11-19T12:01:10.404Z","repository":{"id":144996444,"uuid":"20970370","full_name":"danielzen/ionic-pouchdb-todo","owner":"danielzen","description":"A simple Ionic Todo app with a PouchDb local storage backend configured to sync\nwith a CouchDb installation. Demo of offline functionality with server synchronization.","archived":false,"fork":false,"pushed_at":"2015-07-26T01:09:05.000Z","size":1447,"stargazers_count":126,"open_issues_count":1,"forks_count":36,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-06-20T13:16:11.263Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danielzen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-18T16:57:07.000Z","updated_at":"2023-11-12T18:27:00.000Z","dependencies_parsed_at":"2023-04-01T09:31:31.275Z","dependency_job_id":null,"html_url":"https://github.com/danielzen/ionic-pouchdb-todo","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/danielzen/ionic-pouchdb-todo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielzen%2Fionic-pouchdb-todo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielzen%2Fionic-pouchdb-todo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielzen%2Fionic-pouchdb-todo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielzen%2Fionic-pouchdb-todo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielzen","download_url":"https://codeload.github.com/danielzen/ionic-pouchdb-todo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielzen%2Fionic-pouchdb-todo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285240542,"owners_count":27137943,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-19T02:00:05.673Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-11-14T18:00:30.356Z","updated_at":"2025-11-19T12:01:10.399Z","avatar_url":"https://github.com/danielzen.png","language":"JavaScript","funding_links":[],"categories":["And A Bunch More! (I am in the process of sorting these)"],"sub_categories":[],"readme":"ionic-pouchdb-todo\n==========================\n\nThis is an older example of the use of [ng-pouchdb](https://github.com/danielzen/ng-pouchdb).\n\nPlease see the latest example of this library in use at http://github.com/danielzen/todo-ng-pouchdb\n\nThis is a 4-way data-binding library, in action using a simple Ionic Todo app with a PouchDb local storage backend configured to sync with a CouchDb installation. This is a demo of offline functionality with server synchronization. And is part of my Offline data synchronization talk.\n Slides available at: [http://zndg.tl/ng-pouchdb](http://zndg.tl/ng-pouchdb)\n\nYou can watch me demo building an early version of the app at \n[FITC Spotlight: AngularJS](http://youtu.be/6ecuA-pOev0?t=14m9s) in Toronto.\n\nThis repository has multiple releases you can download or tags you can checkout to see the incremental building \nof the application. Only the final version using the ng-pouchdb library.\n\n## Installation\n\nYou may need to install bower globally with `npm install -g bower` before running `bower install`, to download \nthe necessary required frontend libraries. You may need to do a `npm -g install bower`, if you haven't already. \n\n## Run the App\n \nYou can `cd` into the `www` directory and run \n\n```bash\npython -m SimpleHTTPServer 8000\n```\nIf you're using Python 3.x or higher\n\n```bash\npython -m http.server 8000\n```\n\n\nYou can then just open [http://localhost:8000/index.html](http://localhost:8000/index.html) in a browser.\n\nPersonally I use WebStorm which has a built in server. From a JetBrains product, you can select \"View...\", \"Open in Browser\" on index.html.\n\nThe final version of this demo requires you to [download and install CouchDb](http://couchdb.apache.org/#download), which runs on port 5984. And, [enable CORS](http://docs.couchdb.org/en/1.6.1/config/http.html#cross-origin-resource-sharing).\n\n## iOS version\n\nHowever, to run this as a mobile application in iOS emulator,\ndo the following to setup : \n\n```bash\n$ cd ionic-pouchdb-todo\n$ sudo npm install -g cordova ionic gulp\n```\n\nTo run in the iPhone Simulator:\n\n```bash\nionic platform add ios\nionic build ios\nionic emulate ios\n```\n\n## Building Out \u0026 Updating Ionic or PouchDb\n\nTo update to a new version of Ionic, open bower.json and change the version listed there.\n\nFor example, to update from version `1.0.0-beta.12` to `1.0.0-beta.13`, open bower.json and change this:\n\n```\n\"ionic\": \"driftyco/ionic-bower#1.0.0-beta.12\"\n```\n\nAfter saving the update to bower.json file, run `bower install`.\n\nI was a little forward thinking adding  the `package.json` file.\nTo continue working on this repository, adding tests, using SASS, you can\n\n```bash\n$ npm install\n$ gulp install\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielzen%2Fionic-pouchdb-todo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielzen%2Fionic-pouchdb-todo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielzen%2Fionic-pouchdb-todo/lists"}