Skip to content

luandro/falcor-couchdb-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Falcor CouchDB api

A simple example on how to combine Falcor with a CouchDB(using cradle) database to serve a Json Graph api.

Usage

Make sure you have CouchDB installed and running.

	git clone https://github.com/luandro/falcor-couchdb-api.git
	cd falcor-couchdb-api

	npm install
	npm run dev     # start express server with nodemon

The first run may throw an error saying the database doesn't exist, just run it once again. Try passing a url with path params like [ characters ,{ from :0, to :4}, name ] and a method params get to http://localhost:3000/model.jsonand see the response.

About

Express Json Graph API using Falcor and CouchDB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published