Skip to content

Commit

Permalink
get-witness and get-mentions
Browse files Browse the repository at this point in the history
  • Loading branch information
stoodkev committed Apr 15, 2018
1 parent c748b91 commit 4f7a0e5
Show file tree
Hide file tree
Showing 4 changed files with 581 additions and 0 deletions.
15 changes: 15 additions & 0 deletions app.js
@@ -0,0 +1,15 @@
var express = require("express");
var bodyParser = require("body-parser");
var routes = require("./routes/routes.js");
var app = express();
require('dotenv').config();


app.use(bodyParser.json());
app.use(bodyParser.urlencoded({ extended: true }));

routes(app);

var server = app.listen(process.env.PORT||3000, function () {
console.log("app running on port ", server.address().port);
});

0 comments on commit 4f7a0e5

Please sign in to comment.