sample twitter api testing mock/stub
Switch branches/tags
Nothing to show
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.
app
bin
config
db
lib
log
public
test
vendor/assets
.gitignore
Gemfile
Gemfile.lock
README.markdown
Rakefile
config.ru

README.markdown

Twitter Demo

This application is a simplistic example of consuming the Twitter REST API from a Rails app.

It uses the Twitter gem to fetch tweets from a user's timeline and display them on the page in a basic UI.

Setup

git clone https://github.com/turingschool-examples/twitter-demo.git
cd twitter-demo
bundle
rake db:create db:migrate
rails s

(Yes, the API credentials are hardcoded in the app. This makes it easier for students to set up.)

Currently this app is being used as a starting point for a Turing lesson on Mocking External APIs.