From 287fa13b3e600b2340895a5463a288bf08101bb5 Mon Sep 17 00:00:00 2001 From: Rubén Beltrán del Río Date: Thu, 19 Jan 2017 00:25:01 -0600 Subject: Add Login (#2) * Add dependencies * Add barebones app * Ignore .DS_Store * Add base static assets * Expose port on docker * Ignore env files * Add instructions to use env.dist * Add twitter configs * Use latest node version * Read env file properly * Add dependencies to start parsing twitter * Add helper for twitter login operations * Add handler for titter login routes * Use twitter handler * Add JWT related keys * Add jwt dependencies * Move index static file * Rename twitter handler to auth, add jwt support * Add new yarn lock * Add instructions for twitter * Remove twitter image * Fix return value lint errors * Ignore require-yield errors in linter --- config/env.dist | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 config/env.dist (limited to 'config/env.dist') diff --git a/config/env.dist b/config/env.dist new file mode 100644 index 0000000..ee23ee1 --- /dev/null +++ b/config/env.dist @@ -0,0 +1,4 @@ +DASEIN_COOKIE_KEYS=comma,separated,keys +DASEIN_TWITTER_CONSUMER_KEY=your_twitter_key +DASEIN_TWITTER_CONSUMER_SECRET=your_twitter_secret +DASEIN_JWT_SECRET=some_random_string -- cgit