/rbtv.ts.youtube

rbtv.ts.youtube

Primary LanguageTypeScriptMIT LicenseMIT

rbtv.ts.youtube

Build Status

setup

to develop on your local machine you need:

note: both redis- and mongo-db can be completely empty. they're just needed for caching data.

installation

npm install

create env.js in the project-root

const REDIS_URL = 'redis://user:pw@server:port';
const MONGOLAB_URI = 'mongodb://user:pw@server:port/path';
const YT_KEY = 'my_generic_youtube_key';

module.exports = {
    REDIS_URL,
    MONGOLAB_URI,
    YT_KEY
};

these environment-variables will be set in production from heroku.

run

npm run dev

open http://localhost:5000/