Skip to content

couchbaselabs/node-couch-qa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CouchQA

Sample app using couchnode to build ask "Who wants to be a millionaire" style questions, and display the answer count.

Setup & Run

Make sure libcouchbase is installed and get the other dependencies via

$ npm install

configure the app via .env file, or SHELL variables, see sample.env for details

$ cp sample.env .env
$ $EDITOR .env

setup the needed Couchbase buckets by visiting the webinterface

setup the views, set NODE_ENV to the environment you want the views setup for

$ npm run setup-views

will set them up to the environment specified in .env

$ env NODE_ENV=test npm run setup-views

will set them up for the test environment

run via the build in scripts

$ npm start

run the tests

$ npm test

Why?

This app is build as an example to presented at Couchbase live London

License

Apache

About

Sample app build for Couchbase Live London

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published