1
0
mirror of https://github.com/stolksdorf/homebrewery.git synced 2025-12-13 20:25:58 +00:00

adding in some api tests

This commit is contained in:
Scott Tolksdorf
2017-01-01 17:47:26 -08:00
parent 5ba3f98696
commit 10f4759471
6 changed files with 68 additions and 14 deletions

View File

@@ -36,6 +36,9 @@ app.use(require('./server/interface.routes.js'));
//app.use(require('./server/admin.api.js'));
//Error Handler
app.use(require('./server/error.js').expressHandler);
const PORT = process.env.PORT || 8000;
app.listen(PORT);
console.log(`server on port:${PORT}`);