A demonstration of the usual signup, forget password, reset password and confirm pages associated with user authentication management, implemented without a traditional server buth instead with couchdb and server side workers (cape).
Install of demo
Install a CouchDB instance. Make sure that the CouchDB instance is cors enabled. (in configuration set to true cors/credentials and httpd/enable_cors and set cors/origins/* by clicking ‘Add a new section’ at the bottom of the configuration page and filling in cors, origins and *).
Clone Cape. Edit the bottom of the file backend/rean.js to set/edit username,
password and url of the CouchDB instance.Then cd to the repo’s rootfolder and
node backend/rean.js This starts the backend workers that connect to
the CouchDB instance and if necessary initialize it.
This repo contains a server and a builder to quickly setup the demo. Do a
install in this repo’s root folder and execute
bin/serve in one terminal and
bin/build in another folder. Open your browser at http://localhost:9001.
For a description of how it works please see Cape