Skip to content

Express.js based backend. Makes use of Superlogin to authenticate the user against a CouchDB instance.

Notifications You must be signed in to change notification settings

PaulWen/Glossarhino-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

This node.js application has two tasks: 1) delivering files as a web server 2) authenticating users against a CouchDB using the module "superlogin"

Usage of the web-server

place web-files some where and configure the routs of the Express.js app in the file "server.ts"

Installation

  1. install CouchDB on a server
  2. install Node.js on a server
  3. Configure "server-config.ts" with the correct CouchDB URL
  4. Enable CORS at the CouchDB a) npm install -g add-cors-to-couchdb b) add-cors-to-couchdb http://me.iriscouch.com -u myusername -p mypassword
  5. run "npm install"
  6. run "gulp" to execute the app

About

Express.js based backend. Makes use of Superlogin to authenticate the user against a CouchDB instance.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published