CAYdenberg / pouch-editor-demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pouch Editor Demo

For Exchange.JS, Nov 7. 2019

Prerequisites

Setup

Create a Database on mLab (this is for session storage)

  • Go to mLab.com and sign in or create an account
  • Click Create new to create a new database
  • Pick any free combination of options
  • Once the database is created, create a new user under the users tab
  • Click Add database user. Choose a username and password and note them down.
  • Copy the MongoDB URI from the top of the page (mongodb://) into the .env file under MONGO_URI. Then replace <dbuser> with your username and <dbpassword> with your password.

How to get a Twitter API key

  • Sign in at https://apps.twitter.com
  • Click Create a new application
  • Enter your application name, website and description
  • For Callback URL: http://127.0.0.1:8080/auth/twitter/callback
  • Go to Settings tab
  • Check the box Allow this application to be used to Sign in with Twitter
  • Click Update this Twitter's applications settings
  • Copy and paste Consumer Key and Consumer Secret keys into .env file as TWITTER_KEY and TWITTER_SECRET

Run it!

  • npm start

Any questions?

Email me casey@caydenberg.io

About


Languages

Language:JavaScript 95.3%Language:HTML 3.7%Language:CSS 1.0%