1.0.10 • Published 3 years ago
couchdb-connection v1.0.10
To install run npm i couchdb-connection -g
Once installed go to the desired directory and run couchdb-connection
There will be a new folder 'couchdb-connection' with a file.js
You can also run couchdb-connection folder name which will create a folder with that name
Configurations
Change the user and password to your configured couchdb credentials
Then change the const db where it says 'Database Name'
If you want to change to port where the web server listens change the const port
To run the file.js you can use 'node file.js' in the terminal just remember to be in the right directory
Express docs - https://www.npmjs.com/package/express
Nano docs - https://www.npmjs.com/package/nano