Showing
9 changed files
with
138 additions
and
160 deletions
... | @@ -4,4 +4,6 @@ | ... | @@ -4,4 +4,6 @@ |
4 | - 뉴스 크롤링 후 이미지 사이즈 80*80 인 것을 원본으로 변환할 수 있는 방법은..? | 4 | - 뉴스 크롤링 후 이미지 사이즈 80*80 인 것을 원본으로 변환할 수 있는 방법은..? |
5 | - 구글 [Cloud Authentication](https://cloud.google.com/docs/authentication/getting-started?hl=ko) 으로 사용해서 로컬에서 실행시키는데, | 5 | - 구글 [Cloud Authentication](https://cloud.google.com/docs/authentication/getting-started?hl=ko) 으로 사용해서 로컬에서 실행시키는데, |
6 | 만약 배포를 해야한다면 이 부분은 어떻게 해야할지 ..? | 6 | 만약 배포를 해야한다면 이 부분은 어떻게 해야할지 ..? |
7 | -- 사용자 인증 기능 추가 -> 회원 등록 시 관심가수를 입력받아서 로그인 할 때마다 최신 & 정확 & 소식 을 전달해줌 / 비회원으로도 이용가능_지금과 같이 | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
7 | +- 사용자 인증 기능 추가 -> 회원 등록 시 관심가수를 입력받아서 로그인 할 때마다 최신 & 정확 & 소식 을 전달해줌 / 비회원으로도 이용가능_지금과 같이 | ||
8 | +--> React Router 사용해서 /<> 에 따라서 login/register/chatpage 가 되도록 구현해야함. | ||
9 | + -> 로그인,회원가입 페이지는 Boiler-plate 사용하기.............................도전 | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -2289,7 +2289,8 @@ | ... | @@ -2289,7 +2289,8 @@ |
2289 | }, | 2289 | }, |
2290 | "kind-of": { | 2290 | "kind-of": { |
2291 | "version": "6.0.2", | 2291 | "version": "6.0.2", |
2292 | - "resolved": "" | 2292 | + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", |
2293 | + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==" | ||
2293 | } | 2294 | } |
2294 | } | 2295 | } |
2295 | }, | 2296 | }, |
... | @@ -4255,6 +4256,11 @@ | ... | @@ -4255,6 +4256,11 @@ |
4255 | "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", | 4256 | "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", |
4256 | "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=" | 4257 | "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=" |
4257 | }, | 4258 | }, |
4259 | + "deepmerge": { | ||
4260 | + "version": "2.2.1", | ||
4261 | + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-2.2.1.tgz", | ||
4262 | + "integrity": "sha512-R9hc1Xa/NOBi9WRVUWg19rl1UB7Tt4kuPd+thNJgFZoxXsTz7ncaPaeIm+40oSGuP33DfMb4sZt1QIGiJzC4EA==" | ||
4263 | + }, | ||
4258 | "default-gateway": { | 4264 | "default-gateway": { |
4259 | "version": "2.7.2", | 4265 | "version": "2.7.2", |
4260 | "resolved": "https://registry.npmjs.org/default-gateway/-/default-gateway-2.7.2.tgz", | 4266 | "resolved": "https://registry.npmjs.org/default-gateway/-/default-gateway-2.7.2.tgz", |
... | @@ -5442,7 +5448,8 @@ | ... | @@ -5442,7 +5448,8 @@ |
5442 | }, | 5448 | }, |
5443 | "kind-of": { | 5449 | "kind-of": { |
5444 | "version": "6.0.2", | 5450 | "version": "6.0.2", |
5445 | - "resolved": "" | 5451 | + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", |
5452 | + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==" | ||
5446 | } | 5453 | } |
5447 | } | 5454 | } |
5448 | }, | 5455 | }, |
... | @@ -5843,6 +5850,22 @@ | ... | @@ -5843,6 +5850,22 @@ |
5843 | "mime-types": "^2.1.12" | 5850 | "mime-types": "^2.1.12" |
5844 | } | 5851 | } |
5845 | }, | 5852 | }, |
5853 | + "formik": { | ||
5854 | + "version": "1.5.8", | ||
5855 | + "resolved": "https://registry.npmjs.org/formik/-/formik-1.5.8.tgz", | ||
5856 | + "integrity": "sha512-fNvPe+ddbh+7xiByT25vuso2p2hseG/Yvuj211fV1DbCjljUEG9OpgRpcb7g7O3kxHX/q31cbZDzMxJXPWSNwA==", | ||
5857 | + "requires": { | ||
5858 | + "create-react-context": "^0.2.2", | ||
5859 | + "deepmerge": "^2.1.1", | ||
5860 | + "hoist-non-react-statics": "^3.3.0", | ||
5861 | + "lodash": "^4.17.14", | ||
5862 | + "lodash-es": "^4.17.14", | ||
5863 | + "prop-types": "^15.6.1", | ||
5864 | + "react-fast-compare": "^2.0.1", | ||
5865 | + "tiny-warning": "^1.0.2", | ||
5866 | + "tslib": "^1.9.3" | ||
5867 | + } | ||
5868 | + }, | ||
5846 | "forwarded": { | 5869 | "forwarded": { |
5847 | "version": "0.1.2", | 5870 | "version": "0.1.2", |
5848 | "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz", | 5871 | "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz", |
... | @@ -8683,6 +8706,11 @@ | ... | @@ -8683,6 +8706,11 @@ |
8683 | "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", | 8706 | "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", |
8684 | "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" | 8707 | "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" |
8685 | }, | 8708 | }, |
8709 | + "lodash-es": { | ||
8710 | + "version": "4.17.15", | ||
8711 | + "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.15.tgz", | ||
8712 | + "integrity": "sha512-rlrc3yU3+JNOpZ9zj5pQtxnx2THmvRykwL4Xlxoa8I9lHBlVbbyPhgyPMioxVZ4NqyxaVVtaJnzsyOidQIhyyQ==" | ||
8713 | + }, | ||
8686 | "lodash._reinterpolate": { | 8714 | "lodash._reinterpolate": { |
8687 | "version": "3.0.0", | 8715 | "version": "3.0.0", |
8688 | "resolved": "https://registry.npmjs.org/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz", | 8716 | "resolved": "https://registry.npmjs.org/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz", |
... | @@ -13101,6 +13129,11 @@ | ... | @@ -13101,6 +13129,11 @@ |
13101 | "resolved": "https://registry.npmjs.org/react-error-overlay/-/react-error-overlay-5.1.4.tgz", | 13129 | "resolved": "https://registry.npmjs.org/react-error-overlay/-/react-error-overlay-5.1.4.tgz", |
13102 | "integrity": "sha512-fp+U98OMZcnduQ+NSEiQa4s/XMsbp+5KlydmkbESOw4P69iWZ68ZMFM5a2BuE0FgqPBKApJyRuYHR95jM8lAmg==" | 13130 | "integrity": "sha512-fp+U98OMZcnduQ+NSEiQa4s/XMsbp+5KlydmkbESOw4P69iWZ68ZMFM5a2BuE0FgqPBKApJyRuYHR95jM8lAmg==" |
13103 | }, | 13131 | }, |
13132 | + "react-fast-compare": { | ||
13133 | + "version": "2.0.4", | ||
13134 | + "resolved": "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-2.0.4.tgz", | ||
13135 | + "integrity": "sha512-suNP+J1VU1MWFKcyt7RtjiSWUjvidmQSlqu+eHslq+342xCbGTYmC0mEhPCOHxlW0CywylOC1u2DFAT+bv4dBw==" | ||
13136 | + }, | ||
13104 | "react-is": { | 13137 | "react-is": { |
13105 | "version": "16.8.6", | 13138 | "version": "16.8.6", |
13106 | "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.8.6.tgz", | 13139 | "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.8.6.tgz", |
... | @@ -14228,7 +14261,8 @@ | ... | @@ -14228,7 +14261,8 @@ |
14228 | }, | 14261 | }, |
14229 | "kind-of": { | 14262 | "kind-of": { |
14230 | "version": "6.0.2", | 14263 | "version": "6.0.2", |
14231 | - "resolved": "" | 14264 | + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", |
14265 | + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==" | ||
14232 | } | 14266 | } |
14233 | } | 14267 | } |
14234 | }, | 14268 | }, | ... | ... |
1 | import React from "react"; | 1 | import React from "react"; |
2 | import { Typography, Icon } from 'antd'; | 2 | import { Typography, Icon } from 'antd'; |
3 | import Chatbot from './Chatbot/Chatbot'; | 3 | import Chatbot from './Chatbot/Chatbot'; |
4 | + | ||
5 | + | ||
4 | const { Title } = Typography; | 6 | const { Title } = Typography; |
5 | 7 | ||
6 | function App() { | 8 | function App() { |
... | @@ -10,13 +12,10 @@ function App() { | ... | @@ -10,13 +12,10 @@ function App() { |
10 | <Title level={2} >CHATBOT <Icon type="robot" /></Title> | 12 | <Title level={2} >CHATBOT <Icon type="robot" /></Title> |
11 | </div> | 13 | </div> |
12 | <div style={{ display: 'flex', justifyContent: 'center' }}> | 14 | <div style={{ display: 'flex', justifyContent: 'center' }}> |
13 | - | ||
14 | <Chatbot /> | 15 | <Chatbot /> |
15 | - | ||
16 | - | ||
17 | </div> | 16 | </div> |
18 | </div> | 17 | </div> |
19 | ) | 18 | ) |
20 | } | 19 | } |
21 | 20 | ||
22 | -export default App | 21 | +export default App; | ... | ... |
client/src/views/Footer.js
0 → 100644
1 | +import React from 'react' | ||
2 | +import {Icon} from 'antd'; | ||
3 | + | ||
4 | +function Footer() { | ||
5 | + return ( | ||
6 | + <div style={{ | ||
7 | + height: '80px', display: 'flex', | ||
8 | + flexDirection: 'column', alignItems: 'center', | ||
9 | + justifyContent: 'center', fontSize:'1rem' | ||
10 | + }}> | ||
11 | + <p> CHATBOT APP <Icon type="smile" /></p> | ||
12 | + </div> | ||
13 | + ) | ||
14 | +} | ||
15 | + | ||
16 | +export default Footer |
client/src/views/chatpage.js
0 → 100644
1 | +import React, { Suspense } from "react"; | ||
2 | +import { Typography, Icon } from 'antd'; | ||
3 | +import Chatbot from '../Chatbot/Chatbot'; | ||
4 | +import { withRouter } from "react-router-dom"; | ||
5 | +const { Title } = Typography; | ||
6 | + | ||
7 | + | ||
8 | +function chatpage() { | ||
9 | + return ( | ||
10 | + <div> | ||
11 | + <div style={{ display: 'flex', justifyContent: 'center', marginTop: '1rem' }}> | ||
12 | + <Title level={2} >CHATBOT <Icon type="robot" /></Title> | ||
13 | + </div> | ||
14 | + <div style={{ display: 'flex', justifyContent: 'center' }}> | ||
15 | + <Chatbot /> | ||
16 | + </div> | ||
17 | + </div> | ||
18 | + ) | ||
19 | +} | ||
20 | + | ||
21 | +export default withRouter(chatpage); | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
client/src/views/loginpage.js
0 → 100644
File mode changed
client/src/views/registerpage.js
0 → 100644
File mode changed
... | @@ -4,6 +4,14 @@ | ... | @@ -4,6 +4,14 @@ |
4 | "lockfileVersion": 1, | 4 | "lockfileVersion": 1, |
5 | "requires": true, | 5 | "requires": true, |
6 | "dependencies": { | 6 | "dependencies": { |
7 | + "@babel/runtime": { | ||
8 | + "version": "7.10.2", | ||
9 | + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.10.2.tgz", | ||
10 | + "integrity": "sha512-6sF3uQw2ivImfVIl62RZ7MXhO2tap69WeWK57vAaimT6AZbE4FbqjdEJIN1UqoD6wI6B+1n9UiagafH1sxjOtg==", | ||
11 | + "requires": { | ||
12 | + "regenerator-runtime": "^0.13.4" | ||
13 | + } | ||
14 | + }, | ||
7 | "@google-cloud/promisify": { | 15 | "@google-cloud/promisify": { |
8 | "version": "0.4.0", | 16 | "version": "0.4.0", |
9 | "resolved": "https://registry.npmjs.org/@google-cloud/promisify/-/promisify-0.4.0.tgz", | 17 | "resolved": "https://registry.npmjs.org/@google-cloud/promisify/-/promisify-0.4.0.tgz", |
... | @@ -349,14 +357,6 @@ | ... | @@ -349,14 +357,6 @@ |
349 | "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=", | 357 | "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=", |
350 | "dev": true | 358 | "dev": true |
351 | }, | 359 | }, |
352 | - "async": { | ||
353 | - "version": "2.6.1", | ||
354 | - "resolved": "https://registry.npmjs.org/async/-/async-2.6.1.tgz", | ||
355 | - "integrity": "sha512-fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ==", | ||
356 | - "requires": { | ||
357 | - "lodash": "^4.17.10" | ||
358 | - } | ||
359 | - }, | ||
360 | "async-each": { | 360 | "async-each": { |
361 | "version": "1.0.2", | 361 | "version": "1.0.2", |
362 | "resolved": "https://registry.npmjs.org/async-each/-/async-each-1.0.2.tgz", | 362 | "resolved": "https://registry.npmjs.org/async-each/-/async-each-1.0.2.tgz", |
... | @@ -462,11 +462,6 @@ | ... | @@ -462,11 +462,6 @@ |
462 | "integrity": "sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw==", | 462 | "integrity": "sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw==", |
463 | "dev": true | 463 | "dev": true |
464 | }, | 464 | }, |
465 | - "bluebird": { | ||
466 | - "version": "3.5.1", | ||
467 | - "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.1.tgz", | ||
468 | - "integrity": "sha512-MKiLiV+I1AA596t9w1sQJ8jkiSr5+ZKi0WKrYGUn6d1Fx+Ij4tIj+m2WMQSGczs5jZVxV339chE8iwk6F64wjA==" | ||
469 | - }, | ||
470 | "body-parser": { | 465 | "body-parser": { |
471 | "version": "1.18.3", | 466 | "version": "1.18.3", |
472 | "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.18.3.tgz", | 467 | "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.18.3.tgz", |
... | @@ -538,11 +533,6 @@ | ... | @@ -538,11 +533,6 @@ |
538 | } | 533 | } |
539 | } | 534 | } |
540 | }, | 535 | }, |
541 | - "bson": { | ||
542 | - "version": "1.1.1", | ||
543 | - "resolved": "https://registry.npmjs.org/bson/-/bson-1.1.1.tgz", | ||
544 | - "integrity": "sha512-jCGVYLoYMHDkOsbwJZBCqwMHyH4c+wzgI9hG7Z6SZJRXWr+x58pdIbm2i9a/jFGCkRJqRUr8eoI7lDWa0hTkxg==" | ||
545 | - }, | ||
546 | "buffer-equal-constant-time": { | 536 | "buffer-equal-constant-time": { |
547 | "version": "1.0.1", | 537 | "version": "1.0.1", |
548 | "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", | 538 | "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", |
... | @@ -1392,6 +1382,11 @@ | ... | @@ -1392,6 +1382,11 @@ |
1392 | "locate-path": "^3.0.0" | 1382 | "locate-path": "^3.0.0" |
1393 | } | 1383 | } |
1394 | }, | 1384 | }, |
1385 | + "fn-name": { | ||
1386 | + "version": "3.0.0", | ||
1387 | + "resolved": "https://registry.npmjs.org/fn-name/-/fn-name-3.0.0.tgz", | ||
1388 | + "integrity": "sha512-eNMNr5exLoavuAMhIUVsOKF79SWd/zG104ef6sxBTSw+cZc6BXdQXDvYcGvp0VbxVVSp1XDUNoz7mg1xMtSznA==" | ||
1389 | + }, | ||
1395 | "follow-redirects": { | 1390 | "follow-redirects": { |
1396 | "version": "1.5.10", | 1391 | "version": "1.5.10", |
1397 | "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.5.10.tgz", | 1392 | "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.5.10.tgz", |
... | @@ -3033,11 +3028,6 @@ | ... | @@ -3033,11 +3028,6 @@ |
3033 | "safe-buffer": "^5.0.1" | 3028 | "safe-buffer": "^5.0.1" |
3034 | } | 3029 | } |
3035 | }, | 3030 | }, |
3036 | - "kareem": { | ||
3037 | - "version": "2.3.0", | ||
3038 | - "resolved": "https://registry.npmjs.org/kareem/-/kareem-2.3.0.tgz", | ||
3039 | - "integrity": "sha512-6hHxsp9e6zQU8nXsP+02HGWXwTkOEw6IROhF2ZA28cYbUk4eJ6QbtZvdqZOdD9YPKghG3apk5eOCvs+tLl3lRg==" | ||
3040 | - }, | ||
3041 | "kind-of": { | 3031 | "kind-of": { |
3042 | "version": "6.0.3", | 3032 | "version": "6.0.3", |
3043 | "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", | 3033 | "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", |
... | @@ -3076,6 +3066,11 @@ | ... | @@ -3076,6 +3066,11 @@ |
3076 | "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", | 3066 | "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", |
3077 | "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" | 3067 | "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" |
3078 | }, | 3068 | }, |
3069 | + "lodash-es": { | ||
3070 | + "version": "4.17.15", | ||
3071 | + "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.15.tgz", | ||
3072 | + "integrity": "sha512-rlrc3yU3+JNOpZ9zj5pQtxnx2THmvRykwL4Xlxoa8I9lHBlVbbyPhgyPMioxVZ4NqyxaVVtaJnzsyOidQIhyyQ==" | ||
3073 | + }, | ||
3079 | "lodash.at": { | 3074 | "lodash.at": { |
3080 | "version": "4.6.0", | 3075 | "version": "4.6.0", |
3081 | "resolved": "https://registry.npmjs.org/lodash.at/-/lodash.at-4.6.0.tgz", | 3076 | "resolved": "https://registry.npmjs.org/lodash.at/-/lodash.at-4.6.0.tgz", |
... | @@ -3175,12 +3170,6 @@ | ... | @@ -3175,12 +3170,6 @@ |
3175 | "p-is-promise": "^2.0.0" | 3170 | "p-is-promise": "^2.0.0" |
3176 | } | 3171 | } |
3177 | }, | 3172 | }, |
3178 | - "memory-pager": { | ||
3179 | - "version": "1.5.0", | ||
3180 | - "resolved": "https://registry.npmjs.org/memory-pager/-/memory-pager-1.5.0.tgz", | ||
3181 | - "integrity": "sha512-ZS4Bp4r/Zoeq6+NLJpP+0Zzm0pR8whtGPf1XExKLJBAczGMnSi3It14OiNCStjQjM6NU1okjQGSxgEZN8eBYKg==", | ||
3182 | - "optional": true | ||
3183 | - }, | ||
3184 | "merge-descriptors": { | 3173 | "merge-descriptors": { |
3185 | "version": "1.0.1", | 3174 | "version": "1.0.1", |
3186 | "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", | 3175 | "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", |
... | @@ -3272,84 +3261,6 @@ | ... | @@ -3272,84 +3261,6 @@ |
3272 | } | 3261 | } |
3273 | } | 3262 | } |
3274 | }, | 3263 | }, |
3275 | - "mongodb": { | ||
3276 | - "version": "3.1.13", | ||
3277 | - "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-3.1.13.tgz", | ||
3278 | - "integrity": "sha512-sz2dhvBZQWf3LRNDhbd30KHVzdjZx9IKC0L+kSZ/gzYquCF5zPOgGqRz6sSCqYZtKP2ekB4nfLxhGtzGHnIKxA==", | ||
3279 | - "requires": { | ||
3280 | - "mongodb-core": "3.1.11", | ||
3281 | - "safe-buffer": "^5.1.2" | ||
3282 | - } | ||
3283 | - }, | ||
3284 | - "mongodb-core": { | ||
3285 | - "version": "3.1.11", | ||
3286 | - "resolved": "https://registry.npmjs.org/mongodb-core/-/mongodb-core-3.1.11.tgz", | ||
3287 | - "integrity": "sha512-rD2US2s5qk/ckbiiGFHeu+yKYDXdJ1G87F6CG3YdaZpzdOm5zpoAZd/EKbPmFO6cQZ+XVXBXBJ660sSI0gc6qg==", | ||
3288 | - "requires": { | ||
3289 | - "bson": "^1.1.0", | ||
3290 | - "require_optional": "^1.0.1", | ||
3291 | - "safe-buffer": "^5.1.2", | ||
3292 | - "saslprep": "^1.0.0" | ||
3293 | - } | ||
3294 | - }, | ||
3295 | - "mongoose": { | ||
3296 | - "version": "5.4.20", | ||
3297 | - "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-5.4.20.tgz", | ||
3298 | - "integrity": "sha512-CyybxMQbCaq6jvbroamS5mPfFbxTOLLpdpkQrk1cj7Az1TX+mBbcCVhz+7XElfTMIOb58ah9O+EXmZJsLPD3Lg==", | ||
3299 | - "requires": { | ||
3300 | - "async": "2.6.1", | ||
3301 | - "bson": "~1.1.0", | ||
3302 | - "kareem": "2.3.0", | ||
3303 | - "mongodb": "3.1.13", | ||
3304 | - "mongodb-core": "3.1.11", | ||
3305 | - "mongoose-legacy-pluralize": "1.0.2", | ||
3306 | - "mpath": "0.5.1", | ||
3307 | - "mquery": "3.2.0", | ||
3308 | - "ms": "2.1.1", | ||
3309 | - "regexp-clone": "0.0.1", | ||
3310 | - "safe-buffer": "5.1.2", | ||
3311 | - "sliced": "1.0.1" | ||
3312 | - }, | ||
3313 | - "dependencies": { | ||
3314 | - "ms": { | ||
3315 | - "version": "2.1.1", | ||
3316 | - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", | ||
3317 | - "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==" | ||
3318 | - } | ||
3319 | - } | ||
3320 | - }, | ||
3321 | - "mongoose-legacy-pluralize": { | ||
3322 | - "version": "1.0.2", | ||
3323 | - "resolved": "https://registry.npmjs.org/mongoose-legacy-pluralize/-/mongoose-legacy-pluralize-1.0.2.tgz", | ||
3324 | - "integrity": "sha512-Yo/7qQU4/EyIS8YDFSeenIvXxZN+ld7YdV9LqFVQJzTLye8unujAWPZ4NWKfFA+RNjh+wvTWKY9Z3E5XM6ZZiQ==" | ||
3325 | - }, | ||
3326 | - "mpath": { | ||
3327 | - "version": "0.5.1", | ||
3328 | - "resolved": "https://registry.npmjs.org/mpath/-/mpath-0.5.1.tgz", | ||
3329 | - "integrity": "sha512-H8OVQ+QEz82sch4wbODFOz+3YQ61FYz/z3eJ5pIdbMEaUzDqA268Wd+Vt4Paw9TJfvDgVKaayC0gBzMIw2jhsg==" | ||
3330 | - }, | ||
3331 | - "mquery": { | ||
3332 | - "version": "3.2.0", | ||
3333 | - "resolved": "https://registry.npmjs.org/mquery/-/mquery-3.2.0.tgz", | ||
3334 | - "integrity": "sha512-qPJcdK/yqcbQiKoemAt62Y0BAc0fTEKo1IThodBD+O5meQRJT/2HSe5QpBNwaa4CjskoGrYWsEyjkqgiE0qjhg==", | ||
3335 | - "requires": { | ||
3336 | - "bluebird": "3.5.1", | ||
3337 | - "debug": "3.1.0", | ||
3338 | - "regexp-clone": "0.0.1", | ||
3339 | - "safe-buffer": "5.1.2", | ||
3340 | - "sliced": "1.0.1" | ||
3341 | - }, | ||
3342 | - "dependencies": { | ||
3343 | - "debug": { | ||
3344 | - "version": "3.1.0", | ||
3345 | - "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", | ||
3346 | - "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", | ||
3347 | - "requires": { | ||
3348 | - "ms": "2.0.0" | ||
3349 | - } | ||
3350 | - } | ||
3351 | - } | ||
3352 | - }, | ||
3353 | "ms": { | 3264 | "ms": { |
3354 | "version": "2.0.0", | 3265 | "version": "2.0.0", |
3355 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", | 3266 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", |
... | @@ -3693,6 +3604,11 @@ | ... | @@ -3693,6 +3604,11 @@ |
3693 | "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz", | 3604 | "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz", |
3694 | "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==" | 3605 | "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==" |
3695 | }, | 3606 | }, |
3607 | + "property-expr": { | ||
3608 | + "version": "2.0.2", | ||
3609 | + "resolved": "https://registry.npmjs.org/property-expr/-/property-expr-2.0.2.tgz", | ||
3610 | + "integrity": "sha512-bc/5ggaYZxNkFKj374aLbEDqVADdYaLcFo8XBkishUWbaAdjlphaBFns9TvRA2pUseVL/wMFmui9X3IdNDU37g==" | ||
3611 | + }, | ||
3696 | "protobufjs": { | 3612 | "protobufjs": { |
3697 | "version": "6.8.8", | 3613 | "version": "6.8.8", |
3698 | "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.8.8.tgz", | 3614 | "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.8.8.tgz", |
... | @@ -3812,6 +3728,11 @@ | ... | @@ -3812,6 +3728,11 @@ |
3812 | "readable-stream": "^2.0.2" | 3728 | "readable-stream": "^2.0.2" |
3813 | } | 3729 | } |
3814 | }, | 3730 | }, |
3731 | + "regenerator-runtime": { | ||
3732 | + "version": "0.13.5", | ||
3733 | + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.5.tgz", | ||
3734 | + "integrity": "sha512-ZS5w8CpKFinUzOwW3c83oPeVXoNsrLsaCoLtJvAClH135j/R77RuymhiSErhm2lKcwSCIpmvIWSbDkIfAqKQlA==" | ||
3735 | + }, | ||
3815 | "regex-not": { | 3736 | "regex-not": { |
3816 | "version": "1.0.2", | 3737 | "version": "1.0.2", |
3817 | "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz", | 3738 | "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz", |
... | @@ -3822,11 +3743,6 @@ | ... | @@ -3822,11 +3743,6 @@ |
3822 | "safe-regex": "^1.1.0" | 3743 | "safe-regex": "^1.1.0" |
3823 | } | 3744 | } |
3824 | }, | 3745 | }, |
3825 | - "regexp-clone": { | ||
3826 | - "version": "0.0.1", | ||
3827 | - "resolved": "https://registry.npmjs.org/regexp-clone/-/regexp-clone-0.0.1.tgz", | ||
3828 | - "integrity": "sha1-p8LgmJH9vzj7sQ03b7cwA+aKxYk=" | ||
3829 | - }, | ||
3830 | "registry-auth-token": { | 3746 | "registry-auth-token": { |
3831 | "version": "3.4.0", | 3747 | "version": "3.4.0", |
3832 | "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-3.4.0.tgz", | 3748 | "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-3.4.0.tgz", |
... | @@ -3876,15 +3792,6 @@ | ... | @@ -3876,15 +3792,6 @@ |
3876 | "integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=", | 3792 | "integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=", |
3877 | "dev": true | 3793 | "dev": true |
3878 | }, | 3794 | }, |
3879 | - "require_optional": { | ||
3880 | - "version": "1.0.1", | ||
3881 | - "resolved": "https://registry.npmjs.org/require_optional/-/require_optional-1.0.1.tgz", | ||
3882 | - "integrity": "sha512-qhM/y57enGWHAe3v/NcwML6a3/vfESLe/sGM2dII+gEO0BpKRUkWZow/tyloNqJyN6kXSl3RyyM8Ll5D/sJP8g==", | ||
3883 | - "requires": { | ||
3884 | - "resolve-from": "^2.0.0", | ||
3885 | - "semver": "^5.1.0" | ||
3886 | - } | ||
3887 | - }, | ||
3888 | "resolve": { | 3795 | "resolve": { |
3889 | "version": "1.10.0", | 3796 | "version": "1.10.0", |
3890 | "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.10.0.tgz", | 3797 | "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.10.0.tgz", |
... | @@ -3894,11 +3801,6 @@ | ... | @@ -3894,11 +3801,6 @@ |
3894 | "path-parse": "^1.0.6" | 3801 | "path-parse": "^1.0.6" |
3895 | } | 3802 | } |
3896 | }, | 3803 | }, |
3897 | - "resolve-from": { | ||
3898 | - "version": "2.0.0", | ||
3899 | - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-2.0.0.tgz", | ||
3900 | - "integrity": "sha1-lICrIOlP+h2egKgEx+oUdhGWa1c=" | ||
3901 | - }, | ||
3902 | "resolve-url": { | 3804 | "resolve-url": { |
3903 | "version": "0.2.1", | 3805 | "version": "0.2.1", |
3904 | "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz", | 3806 | "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz", |
... | @@ -3952,15 +3854,6 @@ | ... | @@ -3952,15 +3854,6 @@ |
3952 | "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", | 3854 | "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", |
3953 | "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" | 3855 | "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" |
3954 | }, | 3856 | }, |
3955 | - "saslprep": { | ||
3956 | - "version": "1.0.2", | ||
3957 | - "resolved": "https://registry.npmjs.org/saslprep/-/saslprep-1.0.2.tgz", | ||
3958 | - "integrity": "sha512-4cDsYuAjXssUSjxHKRe4DTZC0agDwsCqcMqtJAQPzC74nJ7LfAJflAtC1Zed5hMzEQKj82d3tuzqdGNRsLJ4Gw==", | ||
3959 | - "optional": true, | ||
3960 | - "requires": { | ||
3961 | - "sparse-bitfield": "^3.0.3" | ||
3962 | - } | ||
3963 | - }, | ||
3964 | "semver": { | 3857 | "semver": { |
3965 | "version": "5.7.0", | 3858 | "version": "5.7.0", |
3966 | "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.0.tgz", | 3859 | "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.0.tgz", |
... | @@ -4061,11 +3954,6 @@ | ... | @@ -4061,11 +3954,6 @@ |
4061 | "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=", | 3954 | "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=", |
4062 | "dev": true | 3955 | "dev": true |
4063 | }, | 3956 | }, |
4064 | - "sliced": { | ||
4065 | - "version": "1.0.1", | ||
4066 | - "resolved": "https://registry.npmjs.org/sliced/-/sliced-1.0.1.tgz", | ||
4067 | - "integrity": "sha1-CzpmK10Ewxd7GSa+qCsD+Dei70E=" | ||
4068 | - }, | ||
4069 | "snapdragon": { | 3957 | "snapdragon": { |
4070 | "version": "0.8.2", | 3958 | "version": "0.8.2", |
4071 | "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz", | 3959 | "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz", |
... | @@ -4198,15 +4086,6 @@ | ... | @@ -4198,15 +4086,6 @@ |
4198 | "integrity": "sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM=", | 4086 | "integrity": "sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM=", |
4199 | "dev": true | 4087 | "dev": true |
4200 | }, | 4088 | }, |
4201 | - "sparse-bitfield": { | ||
4202 | - "version": "3.0.3", | ||
4203 | - "resolved": "https://registry.npmjs.org/sparse-bitfield/-/sparse-bitfield-3.0.3.tgz", | ||
4204 | - "integrity": "sha1-/0rm5oZWBWuks+eSqzM004JzyhE=", | ||
4205 | - "optional": true, | ||
4206 | - "requires": { | ||
4207 | - "memory-pager": "^1.0.2" | ||
4208 | - } | ||
4209 | - }, | ||
4210 | "spawn-command": { | 4089 | "spawn-command": { |
4211 | "version": "0.0.2-1", | 4090 | "version": "0.0.2-1", |
4212 | "resolved": "https://registry.npmjs.org/spawn-command/-/spawn-command-0.0.2-1.tgz", | 4091 | "resolved": "https://registry.npmjs.org/spawn-command/-/spawn-command-0.0.2-1.tgz", |
... | @@ -4333,6 +4212,11 @@ | ... | @@ -4333,6 +4212,11 @@ |
4333 | "has-flag": "^3.0.0" | 4212 | "has-flag": "^3.0.0" |
4334 | } | 4213 | } |
4335 | }, | 4214 | }, |
4215 | + "synchronous-promise": { | ||
4216 | + "version": "2.0.13", | ||
4217 | + "resolved": "https://registry.npmjs.org/synchronous-promise/-/synchronous-promise-2.0.13.tgz", | ||
4218 | + "integrity": "sha512-R9N6uDkVsghHePKh1TEqbnLddO2IY25OcsksyFp/qBe7XYd0PVbKEWxhcdMhpLzE1I6skj5l4aEZ3CRxcbArlA==" | ||
4219 | + }, | ||
4336 | "term-size": { | 4220 | "term-size": { |
4337 | "version": "1.2.0", | 4221 | "version": "1.2.0", |
4338 | "resolved": "https://registry.npmjs.org/term-size/-/term-size-1.2.0.tgz", | 4222 | "resolved": "https://registry.npmjs.org/term-size/-/term-size-1.2.0.tgz", |
... | @@ -4399,6 +4283,11 @@ | ... | @@ -4399,6 +4283,11 @@ |
4399 | "repeat-string": "^1.6.1" | 4283 | "repeat-string": "^1.6.1" |
4400 | } | 4284 | } |
4401 | }, | 4285 | }, |
4286 | + "toposort": { | ||
4287 | + "version": "2.0.2", | ||
4288 | + "resolved": "https://registry.npmjs.org/toposort/-/toposort-2.0.2.tgz", | ||
4289 | + "integrity": "sha1-riF2gXXRVZ1IvvNUILL0li8JwzA=" | ||
4290 | + }, | ||
4402 | "touch": { | 4291 | "touch": { |
4403 | "version": "3.1.0", | 4292 | "version": "3.1.0", |
4404 | "resolved": "https://registry.npmjs.org/touch/-/touch-3.1.0.tgz", | 4293 | "resolved": "https://registry.npmjs.org/touch/-/touch-3.1.0.tgz", |
... | @@ -4772,6 +4661,20 @@ | ... | @@ -4772,6 +4661,20 @@ |
4772 | "dev": true | 4661 | "dev": true |
4773 | } | 4662 | } |
4774 | } | 4663 | } |
4664 | + }, | ||
4665 | + "yup": { | ||
4666 | + "version": "0.29.1", | ||
4667 | + "resolved": "https://registry.npmjs.org/yup/-/yup-0.29.1.tgz", | ||
4668 | + "integrity": "sha512-U7mPIbgfQWI6M3hZCJdGFrr+U0laG28FxMAKIgNvgl7OtyYuUoc4uy9qCWYHZjh49b8T7Ug8NNDdiMIEytcXrQ==", | ||
4669 | + "requires": { | ||
4670 | + "@babel/runtime": "^7.9.6", | ||
4671 | + "fn-name": "~3.0.0", | ||
4672 | + "lodash": "^4.17.15", | ||
4673 | + "lodash-es": "^4.17.11", | ||
4674 | + "property-expr": "^2.0.2", | ||
4675 | + "synchronous-promise": "^2.0.10", | ||
4676 | + "toposort": "^2.0.2" | ||
4677 | + } | ||
4775 | } | 4678 | } |
4776 | } | 4679 | } |
4777 | } | 4680 | } | ... | ... |
... | @@ -14,16 +14,19 @@ | ... | @@ -14,16 +14,19 @@ |
14 | "dev": "concurrently \"npm run backend\" \"npm run start --prefix client\"" | 14 | "dev": "concurrently \"npm run backend\" \"npm run start --prefix client\"" |
15 | }, | 15 | }, |
16 | "author": "Jaewon Ahn", | 16 | "author": "Jaewon Ahn", |
17 | - "contributors": ["Minjeong Seo"], | 17 | + "contributors": [ |
18 | + "Minjeong Seo" | ||
19 | + ], | ||
18 | "license": "ISC", | 20 | "license": "ISC", |
19 | "dependencies": { | 21 | "dependencies": { |
20 | "actions-on-google": "^2.12.0", | 22 | "actions-on-google": "^2.12.0", |
23 | + "axios": "^0.19.2", | ||
21 | "body-parser": "^1.18.3", | 24 | "body-parser": "^1.18.3", |
25 | + "cheerio": "^1.0.0-rc.3", | ||
22 | "dialogflow": "^0.8.2", | 26 | "dialogflow": "^0.8.2", |
23 | "dialogflow-fulfillment": "^0.6.1", | 27 | "dialogflow-fulfillment": "^0.6.1", |
24 | "express": "^4.16.4", | 28 | "express": "^4.16.4", |
25 | - "cheerio": "^1.0.0-rc.3", | 29 | + "yup": "^0.29.1" |
26 | - "axios" : "^0.19.2" | ||
27 | }, | 30 | }, |
28 | "devDependencies": { | 31 | "devDependencies": { |
29 | "concurrently": "^4.1.0", | 32 | "concurrently": "^4.1.0", | ... | ... |
-
Please register or login to post a comment