Game that lets users play Mad Libs with Donald Trump’s tweets by switching out word types.
- 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.
git clone https://github.com/justincrich/LibTrump
cd ./LibTrump
Go to the , signup, and create an application.
Be sure to create an access token while you are there.
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
You're finished configuring the application, you're ready to run it:
npm install
npm start # open browser with: http://localhost:3000