by oblib · 5y ago · 0 comments
I use jQuery, Bootstrap, Mustache.js, Accounting.js, and PouchDB.js.
I use CouchDB to manage users and user data on the server side and Service Workers to make the app fast and give it Offline-First functionality.
PouchDB.js is a great tool. It makes it very easy to work with a CouchDB on the server side.
PouchDB also works with the IndexedDB in the client side web browser, and with a CouchDB installed on a desktop PC for a local-first app that runs at near native app speeds.
And it will "live sync" a user's desktop CouchdB with your server side CouchDB to give your app's users Cloud access too. So, you can create an app that's a Cloud app, and a offline first app, and a local-first app.
CouchDB's Fauxton DB manager makes it easy to set up users, create DBs, and define user permissions on those DBs down to a document level.
That set of tools provides a huge feature set that's rock solid and easy to use and as powerful as any framework, and with the exception of your server side CouchDB it all runs on the client side so the load on your server is minimal.