/offline-first

Code examples and snippets of offline-first (and related) tools

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Offline First

This repository contains code examples and snippets of offline-first (and related) tools.

PouchDB

The pouchdb directory contains examples of using PouchDB. Note that each example is self-contained. Meaning, databases (and other resources) set up in each example are also torn down in the same example. Examples include:

  1. Creating a Local PouchDB Database
  1. Creating a Remote PouchDB Database
  1. Creating a New Document
  1. Creating a New Document, Specifying its ID
  1. Updating a Document
  1. Deleting a Document
  1. Querying a Database with allDocs
  1. Replicating a PouchDB Database
  1. Bidirectionally Replicating a PouchDB Database
  1. Live Replication of a PouchDB Database
  1. Listening for Database Changes
  1. Filtered Replication of a PouchDB Database
  1. Create an Attachment

Related Boilerplates and Tools

Frontend Web Apps

Backend Web Apps

Mobile Apps

Desktop Apps

Internet of Things (IoT) Apps

License

Licensed under the Apache License, Version 2.0.