-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Aniket
committed
Jun 19, 2020
1 parent
3209e0c
commit 14c99f4
Showing
38 changed files
with
9,234 additions
and
0 deletions.
There are no files selected for viewing
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,4 @@ | ||
{ | ||
"presets": ["@babel/preset-env"], | ||
"plugins": ["@babel/transform-runtime"] | ||
} |
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,16 @@ | ||
# EditorConfig helps developers define and maintain consistent | ||
# coding styles between different editors and IDEs | ||
# http://editorconfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
|
||
# Change these settings to your own preference | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true |
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,29 @@ | ||
{ | ||
"env": { | ||
"browser": true, | ||
"es6": true, | ||
"node": true, | ||
"mocha": true | ||
}, | ||
"extends": ["airbnb-base"], | ||
"globals": { | ||
"Atomics": "readonly", | ||
"SharedArrayBuffer": "readonly" | ||
}, | ||
"parserOptions": { | ||
"ecmaVersion": 2018, | ||
"sourceType": "module" | ||
}, | ||
"rules": { | ||
"indent": ["warn", 2], | ||
"linebreak-style": ["error", "unix"], | ||
"quotes": ["error", "single"], | ||
"semi": ["error", "always"], | ||
"no-console": 1, | ||
"comma-dangle": [0], | ||
"arrow-parens": [0], | ||
"object-curly-spacing": ["warn", "always"], | ||
"array-bracket-spacing": ["warn", "always"], | ||
"import/prefer-default-export": [0] | ||
} | ||
} |
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,6 @@ | ||
{ | ||
"trailingComma": "es5", | ||
"tabWidth": 2, | ||
"semi": true, | ||
"singleQuote": true | ||
} |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
{"message":{"id":1,"name":"matrix II","type":"NEW_RELEASE","rented":false,"updatedAt":"2020-06-19T17:43:12.550Z","createdAt":"2020-06-19T17:43:12.550Z"},"level":"info","timestamp":"2020-06-19T17:43:12.904Z"} |
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 @@ | ||
{"error":{"name":"SequelizeUniqueConstraintError","errors":[{"message":"name must be unique","type":"unique violation","path":"name","value":"matrix II","origin":"DB","instance":{"id":null,"name":"matrix II","type":"NEW_RELEASE","rented":false,"updatedAt":"2020-06-19T17:54:51.348Z","createdAt":"2020-06-19T17:54:51.348Z"},"validatorKey":"not_unique","validatorName":null,"validatorArgs":[]}],"fields":{"name":"matrix II"},"parent":{"length":195,"name":"error","severity":"ERROR","code":"23505","detail":"Key (name)=(matrix II) already exists.","schema":"public","table":"Film","constraint":"Film_name_key","file":"nbtinsert.c","line":"534","routine":"_bt_check_unique","sql":"INSERT INTO \"Film\" (\"id\",\"type\",\"name\",\"rented\",\"createdAt\",\"updatedAt\") VALUES (DEFAULT,$1,$2,$3,$4,$5) RETURNING *;","parameters":["NEW_RELEASE","matrix II",false,"2020-06-19 17:54:51.348 +00:00","2020-06-19 17:54:51.348 +00:00"]},"original":{"length":195,"name":"error","severity":"ERROR","code":"23505","detail":"Key (name)=(matrix II) already exists.","schema":"public","table":"Film","constraint":"Film_name_key","file":"nbtinsert.c","line":"534","routine":"_bt_check_unique","sql":"INSERT INTO \"Film\" (\"id\",\"type\",\"name\",\"rented\",\"createdAt\",\"updatedAt\") VALUES (DEFAULT,$1,$2,$3,$4,$5) RETURNING *;","parameters":["NEW_RELEASE","matrix II",false,"2020-06-19 17:54:51.348 +00:00","2020-06-19 17:54:51.348 +00:00"]},"sql":"INSERT INTO \"Film\" (\"id\",\"type\",\"name\",\"rented\",\"createdAt\",\"updatedAt\") VALUES (DEFAULT,$1,$2,$3,$4,$5) RETURNING *;"},"level":"error","message":"Db error in updateFilm"} |
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,12 @@ | ||
{ | ||
"watch": [ | ||
"package.json", | ||
"nodemon.json", | ||
".eslintrc.json", | ||
".babelrc", | ||
".prettierrc", | ||
"src/" | ||
], | ||
"verbose": true, | ||
"ignore": ["*.test.js", "*.spec.js"] | ||
} |
Oops, something went wrong.