0.3.2 • Published 6 years ago
couchdb-node-passport-login v0.3.2
CouchDB-Node-Passport-Login
This is a user login and registration app using Node.js, Express, Passport, CouchDB, EJS and some other packages.
Version: 0.3.2
npm
Usage
DB Install: 1. You will have to install couchDB locally (dbPort: 5984) 1. Credential for CouchDB should be user:admin pass:admin 2. Create db name: users (Obviously Credential and dbName dbPort etc.. Can be change in the code)
$ npm install$ npm start
# Or run with Nodemon
$ npm run dev
# Visit http://localhost:4000CouchDB
db name value is in "models/User.js" the URI and port are in "config/keys.js"
Insperations
the code was inspeired from other mangoDB login models