Skip to content
MadLibs with Donald Trump's Twitter feed.
JavaScript CSS HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.sass-cache
bin
models
node_modules
public
routes
scss
test
views
.DS_Store
.gitignore
.nvmrc
.travis.yml
Procfile
README.md
app.js
package-lock.json
package.json

README.md

Overview

Game that lets users play Mad Libs with Donald Trump’s tweets by switching out word types.

Technologies Used

  • NodeJS: Enables JavaScript to be used for server-side scripting, and runs scripts server-side to produce dynamic web page content before the page is sent to the user's web browser.
  • Express: S web application framework for Node.js that's designed for building web applications and APIs.
  • Pug: Server side templating engine used in NodeJS to create reusable front end code.
  • SASS: A scripting language used to quickly create and compile CSS.

Getting Started

1. Clone repository

git clone https://github.com/justincrich/LibTrump
cd ./LibTrump

2. Setup twitter API

Go to the twitter developers platform, signup, and create an application.

Be sure to create an access token while you are there.

3. Input API Info

Create a .env in ./LibTrump, enter the following information about your Twitter App in the following format:

TW_KEY= --YOUR-APP-CONSUMER-KEY--
TW_SECRET= --YOUR-APP-SECRET--
TW_TOKEN= --YOUR-APP-ACCESS-TOKEN-CONSUMER-KEY--
TW_TOKENSECRET= --YOUR-APP-ACCESS-TOKEN-CONSUMER-SECRET--
TW_CALLBACKURL= --YOUR-APP-CALLBACK-URL

4. Install dependencies & run locally

You're finished configuring the application, you're ready to run it:

npm install
npm start # open browser with: http://localhost:3000
You can’t perform that action at this time.