PouchDB with Laravel (without CouchDB)

Viewed 1779

How can I use PouchDB as my LocalStorage to Sync with my Laravel API Server without using CouchDB? Some recommendation?

2 Answers

As of June 2019, PouchDB can sync with MySQL, but it takes some extra work.

As per the PouchDB FAQ:

PouchDB Server – An HTTP API written on top of PouchDB. Additionally, it supports alternate backends like in-memory, Redis, Riak and MySQL [emphasis added] via the LevelUP ecosystem. Note that your application must use the PouchDB API rather than directly modifying the database, however.

Related