We will be using Bearer authentication (also called token authentication) is an HTTP authentication scheme that involves security tokens called bearer tokens.
Categories
Node js apps
We will be using Bearer authentication (also called token authentication) is an HTTP authentication scheme that involves security tokens called bearer tokens.
A few of my favorite JavaScript one-liners that can be used in your projects today.
This is a simple example of using node.js, nano (couch db modules) and the express framework to retrieve some data from a couch instance. Setting up the modules We will be using a couch instance from www.iriscouch.com. The database will be named “employees”. var nano = require(‘nano’)(‘http://lugomatic.iriscouch.com’); var db = nano.use(’employees’); We need to include […]