Skip to content
Permalink
Browse files
added start script
  • Loading branch information
aa7401 committed Jul 19, 2019
1 parent 9b34e67 commit 9d50790eb6a3140a1d6fe9ae99e198264bf5da63
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
@@ -33,7 +33,8 @@ app.use(bodyParser())
app.use(session(app))
app.use(views(`${__dirname}/views`, { extension: 'handlebars' }, {map: { handlebars: 'handlebars' }}))

const port = 8080
const defaultPort = 8080
const port = process.env.PORT || defaultPort
const saltRounds = 10

/**
@@ -3,7 +3,11 @@
"version": "1.0.0",
"description": "",
"main": "index.js",
"engines": {
"node": "12.x"
},
"scripts": {
"start": "node index",
"acceptance": "jest --coverage --detectOpenHandles",
"jsdoc": "node_modules/.bin/jsdoc -c jsdoc.conf",
"linter": "node_modules/.bin/eslint .",

0 comments on commit 9d50790

Please sign in to comment.