express-pouchdb-jwt
Use JSON Web Token to authenticate express-pouchdb instance.
Usage
Here's a sample Express app, which we'll name app.js.
var express = app = ExpressPouchDB = PouchDB = ; var expressPouchDB = ;; // configure JWTexpressPouchDBcouchConfigexpressPouchDBcouchConfigexpressPouchDBcouchConfig app;app;
Example
After clone the project, run follow commands to start the project
npm install
npm run start
The if you try to connect to the pouchdb instance, you will fail: