Skip to content

Commit

Permalink
Merge b1bdc33 into 7c3327c
Browse files Browse the repository at this point in the history
  • Loading branch information
yvFischer committed Nov 7, 2016
2 parents 7c3327c + b1bdc33 commit 34cb957
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
coverage/
node_modules/
.gitconfig
11 changes: 11 additions & 0 deletions bin/server.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
const express = require('express')
const app = express()
let PORT = process.env.PORT || 3000

app.get('/api/welcome', function (req, res) {
res.send('Welcome to ARROW')
})

app.listen(PORT, function () {
console.log(`Server started on Port: ${PORT}`)
})
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@
"eslint-config-standard": "^6.2.1",
"eslint-plugin-promise": "^3.3.0",
"eslint-plugin-standard": "^2.0.1",
"istanbul": "^0.4.5"
"istanbul": "^0.4.5",
"express": "4.14.0"
},
"scripts": {
"eslintfix": "eslint --fix **/*.js",
"test": "eslint **/*.js && buster-test",
"cover": "istanbul cover buster-test",
"coveralls": "npm run cover -- --report lcovonly && cat ./coverage/lcov.info | coveralls"
Expand Down

0 comments on commit 34cb957

Please sign in to comment.