Routes for the rest of APIs

pull/2/head
Sahat Yalkabov 2013-12-07 19:47:00 -05:00
parent b6e1943571
commit 717628834e
1 changed files with 6 additions and 0 deletions

6
app.js
View File

@ -65,6 +65,12 @@ app.get('/api/foursquare', passportConf.ensureAuthenticated, api.getFoursquare);
app.get('/api/tumblr', passportConf.ensureAuthenticated, api.getTumblr);
app.get('/api/facebook', passportConf.ensureAuthenticated, api.getFacebook);
app.get('/api/scraping', api.getScraping);
app.get('/api/github', api.getGithub);
app.get('/api/lastfm', api.getLastfm);
app.get('/api/nyt', api.getNewYorkTimes);
app.get('/api/twilio', api.getTwilio);
app.get('/api/etsy', api.getEtsy);
app.get('/api/twitter', api.getTwitter);
app.get('/contact', contact.getContact);
app.post('/contact', contact.postContact);