Home » Pouchdb Installation

Pouchdb Installation

by Online Tutorials Library

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:

PouchDB Install 1
PouchDB Install 2

Install PouchDB Server

Execute the following code on Node.js command prompt to install PouchDB:

PouchDB Install 3
PouchDB Install 4

Set a local Port number

Now set a port to run PouchDB:

PouchDB Install 5

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.

PouchDB Install 6


Install PouchDB GUI

Go to its official website https://pouchdb.com/ and download PouchDB.

PouchDB Install 7

Download pouchdb-6.3.4.min.js to your working directory and include it in your JavaScript as shown in the following command.

PouchDB Install 8

After installing PouchDB, open local port http://127.0.0.1:5000 to see the welcome message.

PouchDB Install 9

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.

PouchDB Install 10

You may also like