-
Notifications
You must be signed in to change notification settings - Fork 253
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #68 from ryanmurakami/v3
3 is the new 2
- Loading branch information
Showing
9 changed files
with
6,509 additions
and
1,791 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,33 @@ | ||
{ | ||
"name": "pizza-luvrs", | ||
"version": "1.1.0", | ||
"version": "2.0.0", | ||
"description": "A social oasis for lovers of pizza.", | ||
"repository": "https://github.com/ryanmurakami/pizza-luvrs", | ||
"main": "index.js", | ||
"scripts": { | ||
"start": "node index.js" | ||
}, | ||
"author": "Ryan Lewis <[email protected]>", | ||
"author": "Ryan Lewis <[email protected]>", | ||
"license": "MIT", | ||
"dependencies": { | ||
"@hapi/boom": "9.1.3", | ||
"@aws-sdk/client-dynamodb": "3.29.0", | ||
"@aws-sdk/client-s3": "3.29.0", | ||
"@aws-sdk/lib-dynamodb": "3.29.0", | ||
"@hapi/boom": "9.1.4", | ||
"@hapi/catbox": "11.1.1", | ||
"@hapi/catbox-redis": "6.0.2", | ||
"@hapi/cookie": "11.0.2", | ||
"@hapi/good": "9.0.1", | ||
"@hapi/good-squeeze": "6.0.0", | ||
"@hapi/hapi": "20.1.5", | ||
"@hapi/inert": "6.0.3", | ||
"@hapi/inert": "6.0.4", | ||
"@hapi/vision": "6.1.0", | ||
"aws-sdk": "2.958.0", | ||
"bcryptjs": "2.4.3", | ||
"bootflat": "2.0.4", | ||
"fs-extra": "10.0.0", | ||
"handlebars": "4.7.7", | ||
"joi": "17.4.1", | ||
"joi": "17.4.2", | ||
"lodash": "4.17.21", | ||
"pg": "8.7.1", | ||
"sequelize": "6.6.5" | ||
"sequelize": "6.6.5", | ||
"winston": "3.3.3" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
const winston = require('winston') | ||
|
||
// set up logger | ||
const logger = winston.createLogger({ | ||
level: 'info', | ||
format: winston.format.json(), | ||
transports: [ | ||
new winston.transports.File({ filename: './log/error.log', level: 'error' }), | ||
new winston.transports.File({ filename: './log/combined.log' }), | ||
] | ||
}) | ||
|
||
module.exports = { logger } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters