Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
2022-066
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
2022-066
2022-066
Commits
cbb339e0
Commit
cbb339e0
authored
Apr 30, 2022
by
Navodya Pasqual
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into IT19408316
parents
a32a848c
77870571
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
195 additions
and
194 deletions
+195
-194
Backend/Node/package-lock.json
Backend/Node/package-lock.json
+195
-86
Backend/Node/server.js
Backend/Node/server.js
+0
-108
No files found.
Backend/Node/package-lock.json
View file @
cbb339e0
...
...
@@ -254,6 +254,7 @@
"version"
:
"3.0.1"
,
"resolved"
:
"https://registry.npmjs.org/ansi-align/-/ansi-align-3.0.1.tgz"
,
"integrity"
:
"sha512-IOfwwBF5iczOjp/WeY4YxyjqAFMQoZufdQWDd19SEExbVLNXqvpzSJ/M7Za4/sCPmQ0+GRquoA7bGcINcxew6w=="
,
"dev"
:
true
,
"requires"
:
{
"string-width"
:
"^4.1.0"
}
...
...
@@ -261,12 +262,14 @@
"ansi-regex"
:
{
"version"
:
"5.0.1"
,
"resolved"
:
"https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz"
,
"integrity"
:
"sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ=="
"integrity"
:
"sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ=="
,
"dev"
:
true
},
"ansi-styles"
:
{
"version"
:
"4.3.0"
,
"resolved"
:
"https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz"
,
"integrity"
:
"sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg=="
,
"dev"
:
true
,
"requires"
:
{
"color-convert"
:
"^2.0.1"
}
...
...
@@ -275,6 +278,7 @@
"version"
:
"3.1.2"
,
"resolved"
:
"https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz"
,
"integrity"
:
"sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg=="
,
"dev"
:
true
,
"requires"
:
{
"normalize-path"
:
"^3.0.0"
,
"picomatch"
:
"^2.0.4"
...
...
@@ -302,7 +306,8 @@
"balanced-match"
:
{
"version"
:
"1.0.2"
,
"resolved"
:
"https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz"
,
"integrity"
:
"sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="
"integrity"
:
"sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="
,
"dev"
:
true
},
"base64-js"
:
{
"version"
:
"1.5.1"
,
...
...
@@ -322,7 +327,8 @@
"binary-extensions"
:
{
"version"
:
"2.2.0"
,
"resolved"
:
"https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz"
,
"integrity"
:
"sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA=="
"integrity"
:
"sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA=="
,
"dev"
:
true
},
"body-parser"
:
{
"version"
:
"1.19.0"
,
...
...
@@ -345,6 +351,7 @@
"version"
:
"5.1.2"
,
"resolved"
:
"https://registry.npmjs.org/boxen/-/boxen-5.1.2.tgz"
,
"integrity"
:
"sha512-9gYgQKXx+1nP8mP7CzFyaUARhg7D3n1dF/FnErWmu9l6JvGpNUN278h0aSb+QjoiKSWG+iZ3uHrcqk0qrY9RQQ=="
,
"dev"
:
true
,
"requires"
:
{
"ansi-align"
:
"^3.0.0"
,
"camelcase"
:
"^6.2.0"
,
...
...
@@ -360,6 +367,7 @@
"version"
:
"1.1.11"
,
"resolved"
:
"https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz"
,
"integrity"
:
"sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA=="
,
"dev"
:
true
,
"requires"
:
{
"balanced-match"
:
"^1.0.0"
,
"concat-map"
:
"0.0.1"
...
...
@@ -369,6 +377,7 @@
"version"
:
"3.0.2"
,
"resolved"
:
"https://registry.npmjs.org/braces/-/braces-3.0.2.tgz"
,
"integrity"
:
"sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A=="
,
"dev"
:
true
,
"requires"
:
{
"fill-range"
:
"^7.0.1"
}
...
...
@@ -404,6 +413,7 @@
"version"
:
"6.1.0"
,
"resolved"
:
"https://registry.npmjs.org/cacheable-request/-/cacheable-request-6.1.0.tgz"
,
"integrity"
:
"sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg=="
,
"dev"
:
true
,
"requires"
:
{
"clone-response"
:
"^1.0.2"
,
"get-stream"
:
"^5.1.0"
,
...
...
@@ -418,6 +428,7 @@
"version"
:
"5.2.0"
,
"resolved"
:
"https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz"
,
"integrity"
:
"sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA=="
,
"dev"
:
true
,
"requires"
:
{
"pump"
:
"^3.0.0"
}
...
...
@@ -425,19 +436,22 @@
"lowercase-keys"
:
{
"version"
:
"2.0.0"
,
"resolved"
:
"https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz"
,
"integrity"
:
"sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA=="
"integrity"
:
"sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA=="
,
"dev"
:
true
}
}
},
"camelcase"
:
{
"version"
:
"6.2.0"
,
"resolved"
:
"https://registry.npmjs.org/camelcase/-/camelcase-6.2.0.tgz"
,
"integrity"
:
"sha512-c7wVvbw3f37nuobQNtgsgG9POC9qMbNuMQmTCqZv23b6MIz0fcYpBiOlv9gEN/hdLdnZTDQhg6e9Dq5M1vKvfg=="
"version"
:
"6.3.0"
,
"resolved"
:
"https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz"
,
"integrity"
:
"sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA=="
,
"dev"
:
true
},
"chalk"
:
{
"version"
:
"4.1.2"
,
"resolved"
:
"https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz"
,
"integrity"
:
"sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA=="
,
"dev"
:
true
,
"requires"
:
{
"ansi-styles"
:
"^4.1.0"
,
"supports-color"
:
"^7.1.0"
...
...
@@ -446,12 +460,14 @@
"has-flag"
:
{
"version"
:
"4.0.0"
,
"resolved"
:
"https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz"
,
"integrity"
:
"sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="
"integrity"
:
"sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="
,
"dev"
:
true
},
"supports-color"
:
{
"version"
:
"7.2.0"
,
"resolved"
:
"https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz"
,
"integrity"
:
"sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw=="
,
"dev"
:
true
,
"requires"
:
{
"has-flag"
:
"^4.0.0"
}
...
...
@@ -459,9 +475,10 @@
}
},
"chokidar"
:
{
"version"
:
"3.5.2"
,
"resolved"
:
"https://registry.npmjs.org/chokidar/-/chokidar-3.5.2.tgz"
,
"integrity"
:
"sha512-ekGhOnNVPgT77r4K/U3GDhu+FQ2S8TnK/s2KbIGXi0SZWuwkZ2QNyfWdZW+TVfn84DpEP7rLeCt2UI6bJ8GwbQ=="
,
"version"
:
"3.5.3"
,
"resolved"
:
"https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz"
,
"integrity"
:
"sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw=="
,
"dev"
:
true
,
"requires"
:
{
"anymatch"
:
"~3.1.2"
,
"braces"
:
"~3.0.2"
,
...
...
@@ -476,17 +493,20 @@
"ci-info"
:
{
"version"
:
"2.0.0"
,
"resolved"
:
"https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz"
,
"integrity"
:
"sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ=="
"integrity"
:
"sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ=="
,
"dev"
:
true
},
"cli-boxes"
:
{
"version"
:
"2.2.1"
,
"resolved"
:
"https://registry.npmjs.org/cli-boxes/-/cli-boxes-2.2.1.tgz"
,
"integrity"
:
"sha512-y4coMcylgSCdVinjiDBuR8PCC2bLjyGTwEmPb9NHR/QaNU6EUOXcTY/s6VjGMD6ENSEaeQYHCY0GNGS5jfMwPw=="
"integrity"
:
"sha512-y4coMcylgSCdVinjiDBuR8PCC2bLjyGTwEmPb9NHR/QaNU6EUOXcTY/s6VjGMD6ENSEaeQYHCY0GNGS5jfMwPw=="
,
"dev"
:
true
},
"clone-response"
:
{
"version"
:
"1.0.2"
,
"resolved"
:
"https://registry.npmjs.org/clone-response/-/clone-response-1.0.2.tgz"
,
"integrity"
:
"sha1-0dyXOSAxTfZ/vrlCI7TuNQI56Ws="
,
"dev"
:
true
,
"requires"
:
{
"mimic-response"
:
"^1.0.0"
}
...
...
@@ -495,6 +515,7 @@
"version"
:
"2.0.1"
,
"resolved"
:
"https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz"
,
"integrity"
:
"sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ=="
,
"dev"
:
true
,
"requires"
:
{
"color-name"
:
"~1.1.4"
}
...
...
@@ -502,12 +523,14 @@
"color-name"
:
{
"version"
:
"1.1.4"
,
"resolved"
:
"https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz"
,
"integrity"
:
"sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
"integrity"
:
"sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
,
"dev"
:
true
},
"concat-map"
:
{
"version"
:
"0.0.1"
,
"resolved"
:
"https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz"
,
"integrity"
:
"sha1-2Klr13/Wjfd5OnMDajug1UBdR3s="
"integrity"
:
"sha1-2Klr13/Wjfd5OnMDajug1UBdR3s="
,
"dev"
:
true
},
"config"
:
{
"version"
:
"3.3.6"
,
...
...
@@ -521,6 +544,7 @@
"version"
:
"5.0.1"
,
"resolved"
:
"https://registry.npmjs.org/configstore/-/configstore-5.0.1.tgz"
,
"integrity"
:
"sha512-aMKprgk5YhBNyH25hj8wGt2+D52Sw1DRRIzqBwLp2Ya9mFmY8KPvvtvmna8SxVR9JMZ4kzMD68N22vlaRpkeFA=="
,
"dev"
:
true
,
"requires"
:
{
"dot-prop"
:
"^5.2.0"
,
"graceful-fs"
:
"^4.1.2"
,
...
...
@@ -570,7 +594,8 @@
"crypto-random-string"
:
{
"version"
:
"2.0.0"
,
"resolved"
:
"https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-2.0.0.tgz"
,
"integrity"
:
"sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA=="
"integrity"
:
"sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA=="
,
"dev"
:
true
},
"debug"
:
{
"version"
:
"2.6.9"
,
...
...
@@ -584,6 +609,7 @@
"version"
:
"3.3.0"
,
"resolved"
:
"https://registry.npmjs.org/decompress-response/-/decompress-response-3.3.0.tgz"
,
"integrity"
:
"sha1-gKTdMjdIOEv6JICDYirt7Jgq3/M="
,
"dev"
:
true
,
"requires"
:
{
"mimic-response"
:
"^1.0.0"
}
...
...
@@ -591,12 +617,14 @@
"deep-extend"
:
{
"version"
:
"0.6.0"
,
"resolved"
:
"https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz"
,
"integrity"
:
"sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA=="
"integrity"
:
"sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA=="
,
"dev"
:
true
},
"defer-to-connect"
:
{
"version"
:
"1.1.3"
,
"resolved"
:
"https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-1.1.3.tgz"
,
"integrity"
:
"sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ=="
"integrity"
:
"sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ=="
,
"dev"
:
true
},
"denque"
:
{
"version"
:
"1.5.1"
,
...
...
@@ -650,6 +678,7 @@
"version"
:
"5.3.0"
,
"resolved"
:
"https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz"
,
"integrity"
:
"sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q=="
,
"dev"
:
true
,
"requires"
:
{
"is-obj"
:
"^2.0.0"
}
...
...
@@ -662,7 +691,8 @@
"duplexer3"
:
{
"version"
:
"0.1.4"
,
"resolved"
:
"https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.4.tgz"
,
"integrity"
:
"sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI="
"integrity"
:
"sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI="
,
"dev"
:
true
},
"duplexify"
:
{
"version"
:
"3.7.1"
,
...
...
@@ -691,7 +721,8 @@
"emoji-regex"
:
{
"version"
:
"8.0.0"
,
"resolved"
:
"https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz"
,
"integrity"
:
"sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="
"integrity"
:
"sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="
,
"dev"
:
true
},
"encodeurl"
:
{
"version"
:
"1.0.2"
,
...
...
@@ -702,6 +733,7 @@
"version"
:
"1.4.4"
,
"resolved"
:
"https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz"
,
"integrity"
:
"sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q=="
,
"dev"
:
true
,
"requires"
:
{
"once"
:
"^1.4.0"
}
...
...
@@ -722,7 +754,8 @@
"escape-goat"
:
{
"version"
:
"2.1.1"
,
"resolved"
:
"https://registry.npmjs.org/escape-goat/-/escape-goat-2.1.1.tgz"
,
"integrity"
:
"sha512-8/uIhbG12Csjy2JEW7D9pHbreaVaS/OpN3ycnyvElTdwM5n6GY6W6e2IPemfvGZeUMqZ9A/3GqIZMgKnBhAw/Q=="
"integrity"
:
"sha512-8/uIhbG12Csjy2JEW7D9pHbreaVaS/OpN3ycnyvElTdwM5n6GY6W6e2IPemfvGZeUMqZ9A/3GqIZMgKnBhAw/Q=="
,
"dev"
:
true
},
"escape-html"
:
{
"version"
:
"1.0.3"
,
...
...
@@ -790,6 +823,7 @@
"version"
:
"7.0.1"
,
"resolved"
:
"https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz"
,
"integrity"
:
"sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ=="
,
"dev"
:
true
,
"requires"
:
{
"to-regex-range"
:
"^5.0.1"
}
...
...
@@ -846,6 +880,7 @@
"version"
:
"2.3.2"
,
"resolved"
:
"https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz"
,
"integrity"
:
"sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA=="
,
"dev"
:
true
,
"optional"
:
true
},
"gaxios"
:
{
...
...
@@ -873,6 +908,7 @@
"version"
:
"4.1.0"
,
"resolved"
:
"https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz"
,
"integrity"
:
"sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w=="
,
"dev"
:
true
,
"requires"
:
{
"pump"
:
"^3.0.0"
}
...
...
@@ -881,6 +917,7 @@
"version"
:
"5.1.2"
,
"resolved"
:
"https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz"
,
"integrity"
:
"sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow=="
,
"dev"
:
true
,
"requires"
:
{
"is-glob"
:
"^4.0.1"
}
...
...
@@ -889,6 +926,7 @@
"version"
:
"3.0.0"
,
"resolved"
:
"https://registry.npmjs.org/global-dirs/-/global-dirs-3.0.0.tgz"
,
"integrity"
:
"sha512-v8ho2DS5RiCjftj1nD9NmnfaOzTdud7RRnVd9kFNOjqZbISlx5DQ+OrTkywgd0dIt7oFCvKetZSHoHcP3sDdiA=="
,
"dev"
:
true
,
"requires"
:
{
"ini"
:
"2.0.0"
}
...
...
@@ -1190,6 +1228,7 @@
"version"
:
"9.6.0"
,
"resolved"
:
"https://registry.npmjs.org/got/-/got-9.6.0.tgz"
,
"integrity"
:
"sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q=="
,
"dev"
:
true
,
"requires"
:
{
"@sindresorhus/is"
:
"^0.14.0"
,
"@szmarczak/http-timer"
:
"^1.1.2"
,
...
...
@@ -1205,9 +1244,10 @@
}
},
"graceful-fs"
:
{
"version"
:
"4.2.8"
,
"resolved"
:
"https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.8.tgz"
,
"integrity"
:
"sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg=="
"version"
:
"4.2.10"
,
"resolved"
:
"https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz"
,
"integrity"
:
"sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA=="
,
"dev"
:
true
},
"gtoken"
:
{
"version"
:
"2.3.3"
,
...
...
@@ -1231,17 +1271,20 @@
"has-flag"
:
{
"version"
:
"3.0.0"
,
"resolved"
:
"https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz"
,
"integrity"
:
"sha1-tdRU3CGZriJWmfNGfloH87lVuv0="
"integrity"
:
"sha1-tdRU3CGZriJWmfNGfloH87lVuv0="
,
"dev"
:
true
},
"has-yarn"
:
{
"version"
:
"2.1.0"
,
"resolved"
:
"https://registry.npmjs.org/has-yarn/-/has-yarn-2.1.0.tgz"
,
"integrity"
:
"sha512-UqBRqi4ju7T+TqGNdqAO0PaSVGsDGJUBQvk9eUWNGRY1CFGDzYhLWoM7JQEemnlvVcv/YEmc2wNW8BC24EnUsw=="
"integrity"
:
"sha512-UqBRqi4ju7T+TqGNdqAO0PaSVGsDGJUBQvk9eUWNGRY1CFGDzYhLWoM7JQEemnlvVcv/YEmc2wNW8BC24EnUsw=="
,
"dev"
:
true
},
"http-cache-semantics"
:
{
"version"
:
"4.1.0"
,
"resolved"
:
"https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz"
,
"integrity"
:
"sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ=="
"integrity"
:
"sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ=="
,
"dev"
:
true
},
"http-errors"
:
{
"version"
:
"1.7.2"
,
...
...
@@ -1295,17 +1338,20 @@
"ignore-by-default"
:
{
"version"
:
"1.0.1"
,
"resolved"
:
"https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-1.0.1.tgz"
,
"integrity"
:
"sha1-SMptcvbGo68Aqa1K5odr44ieKwk="
"integrity"
:
"sha1-SMptcvbGo68Aqa1K5odr44ieKwk="
,
"dev"
:
true
},
"import-lazy"
:
{
"version"
:
"2.1.0"
,
"resolved"
:
"https://registry.npmjs.org/import-lazy/-/import-lazy-2.1.0.tgz"
,
"integrity"
:
"sha1-BWmOPUXIjo1+nZLLBYTnfwlvPkM="
"integrity"
:
"sha1-BWmOPUXIjo1+nZLLBYTnfwlvPkM="
,
"dev"
:
true
},
"imurmurhash"
:
{
"version"
:
"0.1.4"
,
"resolved"
:
"https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz"
,
"integrity"
:
"sha1-khi5srkoojixPcT7a21XbyMUU+o="
"integrity"
:
"sha1-khi5srkoojixPcT7a21XbyMUU+o="
,
"dev"
:
true
},
"inherits"
:
{
"version"
:
"2.0.3"
,
...
...
@@ -1315,7 +1361,8 @@
"ini"
:
{
"version"
:
"2.0.0"
,
"resolved"
:
"https://registry.npmjs.org/ini/-/ini-2.0.0.tgz"
,
"integrity"
:
"sha512-7PnF4oN3CvZF23ADhA5wRaYEQpJ8qygSkbtTXWBeXWXmEVRXK+1ITciHWwHhsjv1TmW0MgacIv6hEi5pX5NQdA=="
"integrity"
:
"sha512-7PnF4oN3CvZF23ADhA5wRaYEQpJ8qygSkbtTXWBeXWXmEVRXK+1ITciHWwHhsjv1TmW0MgacIv6hEi5pX5NQdA=="
,
"dev"
:
true
},
"ipaddr.js"
:
{
"version"
:
"1.9.1"
,
...
...
@@ -1326,6 +1373,7 @@
"version"
:
"2.1.0"
,
"resolved"
:
"https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz"
,
"integrity"
:
"sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw=="
,
"dev"
:
true
,
"requires"
:
{
"binary-extensions"
:
"^2.0.0"
}
...
...
@@ -1339,6 +1387,7 @@
"version"
:
"2.0.0"
,
"resolved"
:
"https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz"
,
"integrity"
:
"sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w=="
,
"dev"
:
true
,
"requires"
:
{
"ci-info"
:
"^2.0.0"
}
...
...
@@ -1346,17 +1395,20 @@
"is-extglob"
:
{
"version"
:
"2.1.1"
,
"resolved"
:
"https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz"
,
"integrity"
:
"sha1-qIwCU1eR8C7TfHahueqXc8gz+MI="
"integrity"
:
"sha1-qIwCU1eR8C7TfHahueqXc8gz+MI="
,
"dev"
:
true
},
"is-fullwidth-code-point"
:
{
"version"
:
"3.0.0"
,
"resolved"
:
"https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz"
,
"integrity"
:
"sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg=="
"integrity"
:
"sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg=="
,
"dev"
:
true
},
"is-glob"
:
{
"version"
:
"4.0.2"
,
"resolved"
:
"https://registry.npmjs.org/is-glob/-/is-glob-4.0.2.tgz"
,
"integrity"
:
"sha512-ZZTOjRcDjuAAAv2cTBQP/lL59ZTArx77+7UzHdWW/XB1mrfp7DEaVpKmZ0XIzx+M7AxfhKcqV+nMetUQmFifwg=="
,
"version"
:
"4.0.3"
,
"resolved"
:
"https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz"
,
"integrity"
:
"sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg=="
,
"dev"
:
true
,
"requires"
:
{
"is-extglob"
:
"^2.1.1"
}
...
...
@@ -1365,6 +1417,7 @@
"version"
:
"0.4.0"
,
"resolved"
:
"https://registry.npmjs.org/is-installed-globally/-/is-installed-globally-0.4.0.tgz"
,
"integrity"
:
"sha512-iwGqO3J21aaSkC7jWnHP/difazwS7SFeIqxv6wEtLU8Y5KlzFTjyqcSIT0d8s4+dDhKytsk9PJZ2BkS5eZwQRQ=="
,
"dev"
:
true
,
"requires"
:
{
"global-dirs"
:
"^3.0.0"
,
"is-path-inside"
:
"^3.0.2"
...
...
@@ -1373,22 +1426,26 @@
"is-npm"
:
{
"version"
:
"5.0.0"
,
"resolved"
:
"https://registry.npmjs.org/is-npm/-/is-npm-5.0.0.tgz"
,
"integrity"
:
"sha512-WW/rQLOazUq+ST/bCAVBp/2oMERWLsR7OrKyt052dNDk4DHcDE0/7QSXITlmi+VBcV13DfIbysG3tZJm5RfdBA=="
"integrity"
:
"sha512-WW/rQLOazUq+ST/bCAVBp/2oMERWLsR7OrKyt052dNDk4DHcDE0/7QSXITlmi+VBcV13DfIbysG3tZJm5RfdBA=="
,
"dev"
:
true
},
"is-number"
:
{
"version"
:
"7.0.0"
,
"resolved"
:
"https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz"
,
"integrity"
:
"sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng=="
"integrity"
:
"sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng=="
,
"dev"
:
true
},
"is-obj"
:
{
"version"
:
"2.0.0"
,
"resolved"
:
"https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz"
,
"integrity"
:
"sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w=="
"integrity"
:
"sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w=="
,
"dev"
:
true
},
"is-path-inside"
:
{
"version"
:
"3.0.3"
,
"resolved"
:
"https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz"
,
"integrity"
:
"sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ=="
"integrity"
:
"sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ=="
,
"dev"
:
true
},
"is-stream"
:
{
"version"
:
"2.0.1"
,
...
...
@@ -1403,12 +1460,14 @@
"is-typedarray"
:
{
"version"
:
"1.0.0"
,
"resolved"
:
"https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz"
,
"integrity"
:
"sha1-5HnICFjfDBsR3dppQPlgEfzaSpo="
"integrity"
:
"sha1-5HnICFjfDBsR3dppQPlgEfzaSpo="
,
"dev"
:
true
},
"is-yarn-global"
:
{
"version"
:
"0.3.0"
,
"resolved"
:
"https://registry.npmjs.org/is-yarn-global/-/is-yarn-global-0.3.0.tgz"
,
"integrity"
:
"sha512-VjSeb/lHmkoyd8ryPVIKvOCn4D1koMqY+vqyjjUfc3xyKtP4dYOxM44sZrnqQSzSds3xyOrUTLTC9LVCVgLngw=="
"integrity"
:
"sha512-VjSeb/lHmkoyd8ryPVIKvOCn4D1koMqY+vqyjjUfc3xyKtP4dYOxM44sZrnqQSzSds3xyOrUTLTC9LVCVgLngw=="
,
"dev"
:
true
},
"isarray"
:
{
"version"
:
"1.0.0"
,
...
...
@@ -1426,7 +1485,8 @@
"json-buffer"
:
{
"version"
:
"3.0.0"
,
"resolved"
:
"https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.0.tgz"
,
"integrity"
:
"sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg="
"integrity"
:
"sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg="
,
"dev"
:
true
},
"json5"
:
{
"version"
:
"2.2.0"
,
...
...
@@ -1488,6 +1548,7 @@
"version"
:
"3.1.0"
,
"resolved"
:
"https://registry.npmjs.org/keyv/-/keyv-3.1.0.tgz"
,
"integrity"
:
"sha512-9ykJ/46SN/9KPM/sichzQ7OvXyGDYKGTaDlKMGCAlg2UK8KRy4jb0d8sFc+0Tt0YYnThq8X2RZgCg74RPxgcVA=="
,
"dev"
:
true
,
"requires"
:
{
"json-buffer"
:
"3.0.0"
}
...
...
@@ -1496,6 +1557,7 @@
"version"
:
"5.1.0"
,
"resolved"
:
"https://registry.npmjs.org/latest-version/-/latest-version-5.1.0.tgz"
,
"integrity"
:
"sha512-weT+r0kTkRQdCdYCNtkMwWXQTMEswKrFBkm4ckQOMVhhqhIMI1UT2hMj+1iigIhgSZm5gTmrRXBNoGUgaTY1xA=="
,
"dev"
:
true
,
"requires"
:
{
"package-json"
:
"^6.3.0"
}
...
...
@@ -1563,12 +1625,14 @@
"lowercase-keys"
:
{
"version"
:
"1.0.1"
,
"resolved"
:
"https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz"
,
"integrity"
:
"sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA=="
"integrity"
:
"sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA=="
,
"dev"
:
true
},
"lru-cache"
:
{
"version"
:
"6.0.0"
,
"resolved"
:
"https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz"
,
"integrity"
:
"sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA=="
,
"dev"
:
true
,
"requires"
:
{
"yallist"
:
"^4.0.0"
}
...
...
@@ -1577,6 +1641,7 @@
"version"
:
"3.1.0"
,
"resolved"
:
"https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz"
,
"integrity"
:
"sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw=="
,
"dev"
:
true
,
"requires"
:
{
"semver"
:
"^6.0.0"
},
...
...
@@ -1584,7 +1649,8 @@
"semver"
:
{
"version"
:
"6.3.0"
,
"resolved"
:
"https://registry.npmjs.org/semver/-/semver-6.3.0.tgz"
,
"integrity"
:
"sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="
"integrity"
:
"sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="
,
"dev"
:
true
}
}
},
...
...
@@ -1630,12 +1696,14 @@
"mimic-response"
:
{
"version"
:
"1.0.1"
,
"resolved"
:
"https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz"
,
"integrity"
:
"sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ=="
"integrity"
:
"sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ=="
,
"dev"
:
true
},
"minimatch"
:
{
"version"
:
"3.0.4"
,
"resolved"
:
"https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz"
,
"integrity"
:
"sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA=="
,
"version"
:
"3.1.2"
,
"resolved"
:
"https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz"
,
"integrity"
:
"sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw=="
,
"dev"
:
true
,
"requires"
:
{
"brace-expansion"
:
"^1.1.7"
}
...
...
@@ -1768,19 +1836,20 @@
"integrity"
:
"sha1-tXGCl/Iyq0YHkaz6L2zRqjzXM/4="
},
"nodemon"
:
{
"version"
:
"2.0.13"
,
"resolved"
:
"https://registry.npmjs.org/nodemon/-/nodemon-2.0.13.tgz"
,
"integrity"
:
"sha512-UMXMpsZsv1UXUttCn6gv8eQPhn6DR4BW+txnL3IN5IHqrCwcrT/yWHfL35UsClGXknTH79r5xbu+6J1zNHuSyA=="
,
"version"
:
"2.0.16"
,
"resolved"
:
"https://registry.npmjs.org/nodemon/-/nodemon-2.0.16.tgz"
,
"integrity"
:
"sha512-zsrcaOfTWRuUzBn3P44RDliLlp263Z/76FPoHFr3cFFkOz0lTPAcIw8dCzfdVIx/t3AtDYCZRCDkoCojJqaG3w=="
,
"dev"
:
true
,
"requires"
:
{
"chokidar"
:
"^3.
2
.2"
,
"debug"
:
"^3.2.
6
"
,
"chokidar"
:
"^3.
5
.2"
,
"debug"
:
"^3.2.
7
"
,
"ignore-by-default"
:
"^1.0.1"
,
"minimatch"
:
"^3.0.4"
,
"pstree.remy"
:
"^1.1.
7
"
,
"pstree.remy"
:
"^1.1.
8
"
,
"semver"
:
"^5.7.1"
,
"supports-color"
:
"^5.5.0"
,
"touch"
:
"^3.1.0"
,
"undefsafe"
:
"^2.0.
3
"
,
"undefsafe"
:
"^2.0.
5
"
,
"update-notifier"
:
"^5.1.0"
},
"dependencies"
:
{
...
...
@@ -1788,6 +1857,7 @@
"version"
:
"3.2.7"
,
"resolved"
:
"https://registry.npmjs.org/debug/-/debug-3.2.7.tgz"
,
"integrity"
:
"sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ=="
,
"dev"
:
true
,
"requires"
:
{
"ms"
:
"^2.1.1"
}
...
...
@@ -1795,7 +1865,8 @@
"ms"
:
{
"version"
:
"2.1.3"
,
"resolved"
:
"https://registry.npmjs.org/ms/-/ms-2.1.3.tgz"
,
"integrity"
:
"sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="
"integrity"
:
"sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="
,
"dev"
:
true
}
}
},
...
...
@@ -1803,6 +1874,7 @@
"version"
:
"1.0.10"
,
"resolved"
:
"https://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz"
,
"integrity"
:
"sha1-bd0hvSoxQXuScn3Vhfim83YI6+4="
,
"dev"
:
true
,
"requires"
:
{
"abbrev"
:
"1"
}
...
...
@@ -1810,12 +1882,14 @@
"normalize-path"
:
{
"version"
:
"3.0.0"
,
"resolved"
:
"https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz"
,
"integrity"
:
"sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA=="
"integrity"
:
"sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA=="
,
"dev"
:
true
},
"normalize-url"
:
{
"version"
:
"4.5.1"
,
"resolved"
:
"https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.1.tgz"
,
"integrity"
:
"sha512-9UZCFRHQdNrfTpGg8+1INIg93B6zE0aXMVFkw1WFwvO4SlZywU6aLg5Of0Ap/PgcbSw4LNxvMWXMeugwMCX0AA=="
"integrity"
:
"sha512-9UZCFRHQdNrfTpGg8+1INIg93B6zE0aXMVFkw1WFwvO4SlZywU6aLg5Of0Ap/PgcbSw4LNxvMWXMeugwMCX0AA=="
,
"dev"
:
true
},
"object-assign"
:
{
"version"
:
"4.1.1"
,
...
...
@@ -1834,6 +1908,7 @@
"version"
:
"1.4.0"
,
"resolved"
:
"https://registry.npmjs.org/once/-/once-1.4.0.tgz"
,
"integrity"
:
"sha1-WDsap3WWHUsROsF9nFC6753Xa9E="
,
"dev"
:
true
,
"requires"
:
{
"wrappy"
:
"1"
}
...
...
@@ -1841,12 +1916,14 @@
"p-cancelable"
:
{
"version"
:
"1.1.0"
,
"resolved"
:
"https://registry.npmjs.org/p-cancelable/-/p-cancelable-1.1.0.tgz"
,
"integrity"
:
"sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw=="
"integrity"
:
"sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw=="
,
"dev"
:
true
},
"package-json"
:
{
"version"
:
"6.5.0"
,
"resolved"
:
"https://registry.npmjs.org/package-json/-/package-json-6.5.0.tgz"
,
"integrity"
:
"sha512-k3bdm2n25tkyxcjSKzB5x8kfVxlMdgsbPr0GkZcwHsLpba6cBjqCt1KlcChKEvxHIcTB1FVMuwoijZ26xex5MQ=="
,
"dev"
:
true
,
"requires"
:
{
"got"
:
"^9.6.0"
,
"registry-auth-token"
:
"^4.0.0"
,
...
...
@@ -1857,7 +1934,8 @@
"semver"
:
{
"version"
:
"6.3.0"
,
"resolved"
:
"https://registry.npmjs.org/semver/-/semver-6.3.0.tgz"
,
"integrity"
:
"sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="
"integrity"
:
"sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="
,
"dev"
:
true
}
}
},
...
...
@@ -1872,9 +1950,10 @@
"integrity"
:
"sha1-32BBeABfUi8V60SQ5yR6G/qmf4w="
},
"picomatch"
:
{
"version"
:
"2.3.0"
,
"resolved"
:
"https://registry.npmjs.org/picomatch/-/picomatch-2.3.0.tgz"
,
"integrity"
:
"sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw=="
"version"
:
"2.3.1"
,
"resolved"
:
"https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz"
,
"integrity"
:
"sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA=="
,
"dev"
:
true
},
"pify"
:
{
"version"
:
"4.0.1"
,
...
...
@@ -1884,7 +1963,8 @@
"prepend-http"
:
{
"version"
:
"2.0.0"
,
"resolved"
:
"https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz"
,
"integrity"
:
"sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc="
"integrity"
:
"sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc="
,
"dev"
:
true
},
"process-nextick-args"
:
{
"version"
:
"2.0.1"
,
...
...
@@ -1928,12 +2008,14 @@
"pstree.remy"
:
{
"version"
:
"1.1.8"
,
"resolved"
:
"https://registry.npmjs.org/pstree.remy/-/pstree.remy-1.1.8.tgz"
,
"integrity"
:
"sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w=="
"integrity"
:
"sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w=="
,
"dev"
:
true
},
"pump"
:
{
"version"
:
"3.0.0"
,
"resolved"
:
"https://registry.npmjs.org/pump/-/pump-3.0.0.tgz"
,
"integrity"
:
"sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww=="
,
"dev"
:
true
,
"requires"
:
{
"end-of-stream"
:
"^1.1.0"
,
"once"
:
"^1.3.1"
...
...
@@ -1948,6 +2030,7 @@
"version"
:
"2.1.1"
,
"resolved"
:
"https://registry.npmjs.org/pupa/-/pupa-2.1.1.tgz"
,
"integrity"
:
"sha512-l1jNAspIBSFqbT+y+5FosojNpVpF94nlI+wDUpqP9enwOTfHx9f0gh5nB96vl+6yTpsJsypeNrwfzPrKuHB41A=="
,
"dev"
:
true
,
"requires"
:
{
"escape-goat"
:
"^2.0.0"
}
...
...
@@ -1977,6 +2060,7 @@
"version"
:
"1.2.8"
,
"resolved"
:
"https://registry.npmjs.org/rc/-/rc-1.2.8.tgz"
,
"integrity"
:
"sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw=="
,
"dev"
:
true
,
"requires"
:
{
"deep-extend"
:
"^0.6.0"
,
"ini"
:
"~1.3.0"
,
...
...
@@ -1987,7 +2071,8 @@
"ini"
:
{
"version"
:
"1.3.8"
,
"resolved"
:
"https://registry.npmjs.org/ini/-/ini-1.3.8.tgz"
,
"integrity"
:
"sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew=="
"integrity"
:
"sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew=="
,
"dev"
:
true
}
}
},
...
...
@@ -2009,6 +2094,7 @@
"version"
:
"3.6.0"
,
"resolved"
:
"https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz"
,
"integrity"
:
"sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA=="
,
"dev"
:
true
,
"requires"
:
{
"picomatch"
:
"^2.2.1"
}
...
...
@@ -2022,6 +2108,7 @@
"version"
:
"4.2.1"
,
"resolved"
:
"https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-4.2.1.tgz"
,
"integrity"
:
"sha512-6gkSb4U6aWJB4SF2ZvLb76yCBjcvufXBqvvEx1HbmKPkutswjW1xNVRY0+daljIYRbogN7O0etYSlbiaEQyMyw=="
,
"dev"
:
true
,
"requires"
:
{
"rc"
:
"^1.2.8"
}
...
...
@@ -2030,6 +2117,7 @@
"version"
:
"5.1.0"
,
"resolved"
:
"https://registry.npmjs.org/registry-url/-/registry-url-5.1.0.tgz"
,
"integrity"
:
"sha512-8acYXXTI0AkQv6RAOjE3vOaIXZkT9wo4LOFbBKYQEEnnMNBpKqdUrI6S4NT0KPIo/WVvJ5tE/X5LF/TQUf0ekw=="
,
"dev"
:
true
,
"requires"
:
{
"rc"
:
"^1.2.8"
}
...
...
@@ -2038,6 +2126,7 @@
"version"
:
"1.0.2"
,
"resolved"
:
"https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz"
,
"integrity"
:
"sha1-kYcg7ztjHFZCvgaPFa3lpG9Loec="
,
"dev"
:
true
,
"requires"
:
{
"lowercase-keys"
:
"^1.0.0"
}
...
...
@@ -2099,6 +2188,7 @@
"version"
:
"3.1.1"
,
"resolved"
:
"https://registry.npmjs.org/semver-diff/-/semver-diff-3.1.1.tgz"
,
"integrity"
:
"sha512-GX0Ix/CJcHyB8c4ykpHGIAvLyOwOobtM/8d+TQkAd81/bEjgPHrfba41Vpesr7jX/t8Uh+R3EX9eAS5be+jQYg=="
,
"dev"
:
true
,
"requires"
:
{
"semver"
:
"^6.3.0"
},
...
...
@@ -2106,7 +2196,8 @@
"semver"
:
{
"version"
:
"6.3.0"
,
"resolved"
:
"https://registry.npmjs.org/semver/-/semver-6.3.0.tgz"
,
"integrity"
:
"sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="
"integrity"
:
"sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="
,
"dev"
:
true
}
}
},
...
...
@@ -2159,9 +2250,10 @@
"integrity"
:
"sha512-+gxdEOMA2J+AI+fVsCqeNn7Tgx3M9ZN9jdi95939l1IJ8cZsqS8sqpJyOkic2SJk+1+98Uwryt/gL6XDaV+UZA=="
},
"signal-exit"
:
{
"version"
:
"3.0.4"
,
"resolved"
:
"https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.4.tgz"
,
"integrity"
:
"sha512-rqYhcAnZ6d/vTPGghdrw7iumdcbXpsk1b8IG/rz+VWV51DM0p7XCtMoJ3qhPLIbp3tvyt3pKRbaaEMZYpHto8Q=="
"version"
:
"3.0.7"
,
"resolved"
:
"https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz"
,
"integrity"
:
"sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ=="
,
"dev"
:
true
},
"sliced"
:
{
"version"
:
"1.0.1"
,
...
...
@@ -2197,6 +2289,7 @@
"version"
:
"4.2.3"
,
"resolved"
:
"https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz"
,
"integrity"
:
"sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g=="
,
"dev"
:
true
,
"requires"
:
{
"emoji-regex"
:
"^8.0.0"
,
"is-fullwidth-code-point"
:
"^3.0.0"
,
...
...
@@ -2215,6 +2308,7 @@
"version"
:
"6.0.1"
,
"resolved"
:
"https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz"
,
"integrity"
:
"sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A=="
,
"dev"
:
true
,
"requires"
:
{
"ansi-regex"
:
"^5.0.1"
}
...
...
@@ -2222,12 +2316,14 @@
"strip-json-comments"
:
{
"version"
:
"2.0.1"
,
"resolved"
:
"https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz"
,
"integrity"
:
"sha1-PFMZQukIwml8DsNEhYwobHygpgo="
"integrity"
:
"sha1-PFMZQukIwml8DsNEhYwobHygpgo="
,
"dev"
:
true
},
"supports-color"
:
{
"version"
:
"5.5.0"
,
"resolved"
:
"https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz"
,
"integrity"
:
"sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow=="
,
"dev"
:
true
,
"requires"
:
{
"has-flag"
:
"^3.0.0"
}
...
...
@@ -2235,12 +2331,14 @@
"to-readable-stream"
:
{
"version"
:
"1.0.0"
,
"resolved"
:
"https://registry.npmjs.org/to-readable-stream/-/to-readable-stream-1.0.0.tgz"
,
"integrity"
:
"sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q=="
"integrity"
:
"sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q=="
,
"dev"
:
true
},
"to-regex-range"
:
{
"version"
:
"5.0.1"
,
"resolved"
:
"https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz"
,
"integrity"
:
"sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ=="
,
"dev"
:
true
,
"requires"
:
{
"is-number"
:
"^7.0.0"
}
...
...
@@ -2254,6 +2352,7 @@
"version"
:
"3.1.0"
,
"resolved"
:
"https://registry.npmjs.org/touch/-/touch-3.1.0.tgz"
,
"integrity"
:
"sha512-WBx8Uy5TLtOSRtIq+M03/sKDrXCLHxwDcquSP2c43Le03/9serjQBIztjRz6FkJez9D/hleyAXTBGLwwZUw9lA=="
,
"dev"
:
true
,
"requires"
:
{
"nopt"
:
"~1.0.10"
}
...
...
@@ -2269,7 +2368,8 @@
"type-fest"
:
{
"version"
:
"0.20.2"
,
"resolved"
:
"https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz"
,
"integrity"
:
"sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ=="
"integrity"
:
"sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ=="
,
"dev"
:
true
},
"type-is"
:
{
"version"
:
"1.6.18"
,
...
...
@@ -2284,22 +2384,22 @@
"version"
:
"3.1.5"
,
"resolved"
:
"https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz"
,
"integrity"
:
"sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q=="
,
"dev"
:
true
,
"requires"
:
{
"is-typedarray"
:
"^1.0.0"
}
},
"undefsafe"
:
{
"version"
:
"2.0.3"
,
"resolved"
:
"https://registry.npmjs.org/undefsafe/-/undefsafe-2.0.3.tgz"
,
"integrity"
:
"sha512-nrXZwwXrD/T/JXeygJqdCO6NZZ1L66HrxM/Z7mIq2oPanoN0F1nLx3lwJMu6AwJY69hdixaFQOuoYsMjE5/C2A=="
,
"requires"
:
{
"debug"
:
"^2.2.0"
}
"version"
:
"2.0.5"
,
"resolved"
:
"https://registry.npmjs.org/undefsafe/-/undefsafe-2.0.5.tgz"
,
"integrity"
:
"sha512-WxONCrssBM8TSPRqN5EmsjVrsv4A8X12J4ArBiiayv3DyyG3ZlIg6yysuuSYdZsVz3TKcTg2fd//Ujd4CHV1iA=="
,
"dev"
:
true
},
"unique-string"
:
{
"version"
:
"2.0.0"
,
"resolved"
:
"https://registry.npmjs.org/unique-string/-/unique-string-2.0.0.tgz"
,
"integrity"
:
"sha512-uNaeirEPvpZWSgzwsPGtU2zVSTrn/8L5q/IexZmH0eH6SA73CmAA5U4GwORTxQAZs95TAXLNqeLoPPNO5gZfWg=="
,
"dev"
:
true
,
"requires"
:
{
"crypto-random-string"
:
"^2.0.0"
}
...
...
@@ -2313,6 +2413,7 @@
"version"
:
"5.1.0"
,
"resolved"
:
"https://registry.npmjs.org/update-notifier/-/update-notifier-5.1.0.tgz"
,
"integrity"
:
"sha512-ItnICHbeMh9GqUy31hFPrD1kcuZ3rpxDZbf4KUDavXwS0bW5m7SLbDQpGX3UYr072cbrF5hFUs3r5tUsPwjfHw=="
,
"dev"
:
true
,
"requires"
:
{
"boxen"
:
"^5.0.0"
,
"chalk"
:
"^4.1.0"
,
...
...
@@ -2331,9 +2432,10 @@
},
"dependencies"
:
{
"semver"
:
{
"version"
:
"7.3.5"
,
"resolved"
:
"https://registry.npmjs.org/semver/-/semver-7.3.5.tgz"
,
"integrity"
:
"sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ=="
,
"version"
:
"7.3.7"
,
"resolved"
:
"https://registry.npmjs.org/semver/-/semver-7.3.7.tgz"
,
"integrity"
:
"sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g=="
,
"dev"
:
true
,
"requires"
:
{
"lru-cache"
:
"^6.0.0"
}
...
...
@@ -2344,6 +2446,7 @@
"version"
:
"3.0.0"
,
"resolved"
:
"https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-3.0.0.tgz"
,
"integrity"
:
"sha1-FrXK/Afb42dsGxmZF3gj1lA6yww="
,
"dev"
:
true
,
"requires"
:
{
"prepend-http"
:
"^2.0.0"
}
...
...
@@ -2396,6 +2499,7 @@
"version"
:
"3.1.0"
,
"resolved"
:
"https://registry.npmjs.org/widest-line/-/widest-line-3.1.0.tgz"
,
"integrity"
:
"sha512-NsmoXalsWVDMGupxZ5R08ka9flZjjiLvHVAWYOKtiKM8ujtZWr9cRffak+uSE48+Ob8ObalXpwyeUiyDD6QFgg=="
,
"dev"
:
true
,
"requires"
:
{
"string-width"
:
"^4.0.0"
}
...
...
@@ -2404,6 +2508,7 @@
"version"
:
"7.0.0"
,
"resolved"
:
"https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz"
,
"integrity"
:
"sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q=="
,
"dev"
:
true
,
"requires"
:
{
"ansi-styles"
:
"^4.0.0"
,
"string-width"
:
"^4.1.0"
,
...
...
@@ -2413,12 +2518,14 @@
"wrappy"
:
{
"version"
:
"1.0.2"
,
"resolved"
:
"https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz"
,
"integrity"
:
"sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
"integrity"
:
"sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
,
"dev"
:
true
},
"write-file-atomic"
:
{
"version"
:
"3.0.3"
,
"resolved"
:
"https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz"
,
"integrity"
:
"sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q=="
,
"dev"
:
true
,
"requires"
:
{
"imurmurhash"
:
"^0.1.4"
,
"is-typedarray"
:
"^1.0.0"
,
...
...
@@ -2429,12 +2536,14 @@
"xdg-basedir"
:
{
"version"
:
"4.0.0"
,
"resolved"
:
"https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-4.0.0.tgz"
,
"integrity"
:
"sha512-PSNhEJDejZYV7h50BohL09Er9VaIefr2LMAf3OEmpCkjOi34eYyQYAXUTjEQtZJTKcF0E2UKTh+osDLsgNim9Q=="
"integrity"
:
"sha512-PSNhEJDejZYV7h50BohL09Er9VaIefr2LMAf3OEmpCkjOi34eYyQYAXUTjEQtZJTKcF0E2UKTh+osDLsgNim9Q=="
,
"dev"
:
true
},
"yallist"
:
{
"version"
:
"4.0.0"
,
"resolved"
:
"https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz"
,
"integrity"
:
"sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
"integrity"
:
"sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
,
"dev"
:
true
}
}
}
Backend/Node/server.js
deleted
100644 → 0
View file @
a32a848c
const
express
=
require
(
'
express
'
);
const
mongoose
=
require
(
'
mongoose
'
);
const
dotenv
=
require
(
'
dotenv
'
);
const
cors
=
require
(
'
cors
'
);
const
bodyParser
=
require
(
'
body-parser
'
);
//Importing chatbot api
const
chatbotAPI
=
require
(
'
./src/routes/chatbot/dialogFlow
'
);
dotenv
.
config
();
const
app
=
express
();
app
.
use
(
cors
());
// parse requests of content-type - application/json
app
.
use
(
bodyParser
.
json
());
// parse requests of content-type - application/x-www-form-urlencoded
app
.
use
(
bodyParser
.
urlencoded
({
extended
:
true
}));
const
PORT
=
process
.
env
.
PORT
||
8081
;
/**
* Get MONGODB_URI from .env
*/
const
MONGODB_URI
=
process
.
env
.
MONGODB_URI
;
mongoose
.
connect
(
MONGODB_URI
,
{
useNewUrlParser
:
true
,
useUnifiedTopology
:
true
,
},
(
error
)
=>
{
if
(
error
)
{
console
.
log
(
'
Database Error:
'
,
error
.
message
);
console
.
log
(
'
######################################################
'
);
}
});
mongoose
.
connection
.
once
(
'
open
'
,
()
=>
{
console
.
log
(
'
Database Connected...
'
);
initial
();
console
.
log
(
'
######################################################
'
);
});
app
.
route
(
'
/
'
).
get
((
req
,
res
)
=>
{
res
.
send
(
'
Research Project
'
);
});
require
(
'
./src/routes/auth.routes
'
)(
app
);
require
(
'
./src/routes/user.routes
'
)(
app
);
app
.
use
(
'
/api/dialogflow
'
,
chatbotAPI
);
app
.
listen
(
PORT
,
()
=>
{
console
.
log
(
'
######################################################
'
);
console
.
log
(
`Server is ON and running on PORT :
${
PORT
}
`
);
console
.
log
(
'
...Wait DB connecting...
'
);
});
const
db
=
require
(
"
./src/modules
"
);
const
Role
=
db
.
role
;
function
initial
()
{
Role
.
estimatedDocumentCount
((
err
,
count
)
=>
{
if
(
!
err
&&
count
===
0
)
{
new
Role
({
name
:
"
user
"
}).
save
(
err
=>
{
if
(
err
)
{
console
.
log
(
"
error
"
,
err
);
}
console
.
log
(
"
added 'user' to roles collection
"
);
});
new
Role
({
name
:
"
manager
"
}).
save
(
err
=>
{
if
(
err
)
{
console
.
log
(
"
error
"
,
err
);
}
console
.
log
(
"
added 'manager' to roles collection
"
);
});
new
Role
({
name
:
"
student
"
}).
save
(
err
=>
{
if
(
err
)
{
console
.
log
(
"
error
"
,
err
);
}
console
.
log
(
"
added 'student' to roles collection
"
);
});
new
Role
({
name
:
"
admin
"
}).
save
(
err
=>
{
if
(
err
)
{
console
.
log
(
"
error
"
,
err
);
}
console
.
log
(
"
added 'admin' to roles collection
"
);
console
.
log
(
'
######################################################
'
);
});
}
});
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment