Install PouchDB
Download and Install Node.js
First of all you have to install Node.js for using PouchDB with Node console. See the following link to know how to install Node.js: https://tutoraspire.com/install-nodejs
Download npm
Now install npm (Node.js Package Manager). See the following link to know how to install npm: https://tutoraspire.com/nodejs-package-manager
Install PouchDB
Execute the following code on Node.js command prompt to install PouchDB:
Install PouchDB Server
Execute the following code on Node.js command prompt to install PouchDB:
Set a local Port number
Now set a port to run PouchDB:
You are ready to use PouchDB with Node.js command prompt. Open Node.js command prompt, start server by using the following command:
And do all the operation of PouchDB.
Install PouchDB GUI
Go to its official website https://pouchdb.com/ and download PouchDB.
Download pouchdb-6.3.4.min.js to your working directory and include it in your JavaScript as shown in the following command.
After installing PouchDB, open local port http://127.0.0.1:5000 to see the welcome message.
You can open http://127.0.0.1:5000/_utils/ to see the complete GUI of PouchDB. You can easily do all operation just same as we do in CouchDB database.