Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaiahJTurner committed Apr 9, 2016
0 parents commit 59a9e55
Show file tree
Hide file tree
Showing 1,410 changed files with 106,256 additions and 0 deletions.
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: npm start
17 changes: 17 additions & 0 deletions app.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
var express = require('express');
var needle = require('needle');
var async = require('async');
var cookieParser = require('cookie-parser')
var app = express();
app.set('port', (process.env.PORT || 3005));
app.use(cookieParser());

app.get("/memes", function(req, res) {
res.sendFile(__dirname + "/public/memes.html");
});
app.get("*", function(req, res) {
res.send("https://www.youtube.com/watch?v=dQw4w9WgXcQ");
});
app.listen(app.get('port'), function() {
console.log('Started on port ' + app.get("port") + '!');
});
1 change: 1 addition & 0 deletions node_modules/.bin/needle

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

180 changes: 180 additions & 0 deletions node_modules/async/CHANGELOG.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions node_modules/async/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 59a9e55

Please sign in to comment.