OpenAgricultureFoundation / openag_ui

UI for OpenAg food computers
GNU General Public License v3.0
53 stars 27 forks source link

Hit recipes DB directly #142

Closed gordonbrander closed 7 years ago

gordonbrander commented 7 years ago

Motivation

Sync between PouchDB and CouchDB was a rather complicated code path, and certain cases were getting missed.

This PR removes the PouchDB layer and communicates with the recipes DB directly.

Rational

This also happens to remove one of the two places we were using PouchDB. If we can eliminate Pouch, we can remove a large chunk of bulk from our compiled code.