Skip to content

endast/node-trovebox-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-Trovebox client Example app

This is an example of how you can use my trovebox node.js client https://github.com/endast/node-Trovebox

It's very basic, but should work as a starting point for people who want to play with trovebox and node but don't know where to start.

Usage

Download the and unzip files:
https://github.com/endast/node-trovebox-example/archive/master.zip

1. Install requirements

cd node-trovebox-example-master && npm install

2. Edit the oauth/host parameters in routes/index.js:
// configure oauth
var serveropts = {
    host: "http://photo.example.com",
    consumer_key: "consumer_key",
    consumer_secret: "consumer_secret",
    token: "token",
    token_secret: "token_secret"
}

3. node app.js

4. surf to http://localhost:3000

5. profit

Versions

0.0.1 - First version

Bitdeli Badge

About

Example usage of node-trovebox client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published