정의왕

Set input data form(not complete)

...@@ -1891,9 +1891,9 @@ ...@@ -1891,9 +1891,9 @@
1891 } 1891 }
1892 }, 1892 },
1893 "@popperjs/core": { 1893 "@popperjs/core": {
1894 - "version": "2.10.2", 1894 + "version": "2.11.0",
1895 - "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.10.2.tgz", 1895 + "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.0.tgz",
1896 - "integrity": "sha512-IXf3XA7+XyN7CP9gGh/XB0UxVMlvARGEgGXLubFICsUMGz6Q+DU+i4gGlpOxTjKvXjkJDJC8YdqdKkDj9qZHEQ==" 1896 + "integrity": "sha512-zrsUxjLOKAzdewIDRWy9nsV1GQsKBCWaGwsZQlCgr6/q+vjyZhFgqedLfFBuI9anTPEUT4APq9Mu0SZBTzIcGQ=="
1897 }, 1897 },
1898 "@rollup/plugin-node-resolve": { 1898 "@rollup/plugin-node-resolve": {
1899 "version": "7.1.3", 1899 "version": "7.1.3",
...@@ -2316,11 +2316,28 @@ ...@@ -2316,11 +2316,28 @@
2316 "@types/node": "*" 2316 "@types/node": "*"
2317 } 2317 }
2318 }, 2318 },
2319 + "@types/hoist-non-react-statics": {
2320 + "version": "3.3.1",
2321 + "resolved": "https://registry.npmjs.org/@types/hoist-non-react-statics/-/hoist-non-react-statics-3.3.1.tgz",
2322 + "integrity": "sha512-iMIqiko6ooLrTh1joXodJK5X9xeEALT1kM5G3ZLhD3hszxBdIEd5C75U834D9mLcINgD4OyZf5uQXjkuYydWvA==",
2323 + "requires": {
2324 + "@types/react": "*",
2325 + "hoist-non-react-statics": "^3.3.0"
2326 + }
2327 + },
2319 "@types/html-minifier-terser": { 2328 "@types/html-minifier-terser": {
2320 "version": "5.1.2", 2329 "version": "5.1.2",
2321 "resolved": "https://registry.npmjs.org/@types/html-minifier-terser/-/html-minifier-terser-5.1.2.tgz", 2330 "resolved": "https://registry.npmjs.org/@types/html-minifier-terser/-/html-minifier-terser-5.1.2.tgz",
2322 "integrity": "sha512-h4lTMgMJctJybDp8CQrxTUiiYmedihHWkjnF/8Pxseu2S6Nlfcy8kwboQ8yejh456rP2yWoEVm1sS/FVsfM48w==" 2331 "integrity": "sha512-h4lTMgMJctJybDp8CQrxTUiiYmedihHWkjnF/8Pxseu2S6Nlfcy8kwboQ8yejh456rP2yWoEVm1sS/FVsfM48w=="
2323 }, 2332 },
2333 + "@types/http-proxy": {
2334 + "version": "1.17.7",
2335 + "resolved": "https://registry.npmjs.org/@types/http-proxy/-/http-proxy-1.17.7.tgz",
2336 + "integrity": "sha512-9hdj6iXH64tHSLTY+Vt2eYOGzSogC+JQ2H7bdPWkuh7KXP5qLllWx++t+K9Wk556c3dkDdPws/SpMRi0sdCT1w==",
2337 + "requires": {
2338 + "@types/node": "*"
2339 + }
2340 + },
2324 "@types/istanbul-lib-coverage": { 2341 "@types/istanbul-lib-coverage": {
2325 "version": "2.0.3", 2342 "version": "2.0.3",
2326 "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.3.tgz", 2343 "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.3.tgz",
...@@ -2500,11 +2517,37 @@ ...@@ -2500,11 +2517,37 @@
2500 "resolved": "https://registry.npmjs.org/@types/prettier/-/prettier-2.4.2.tgz", 2517 "resolved": "https://registry.npmjs.org/@types/prettier/-/prettier-2.4.2.tgz",
2501 "integrity": "sha512-ekoj4qOQYp7CvjX8ZDBgN86w3MqQhLE1hczEJbEIjgFEumDy+na/4AJAbLXfgEWFNB2pKadM5rPFtuSGMWK7xA==" 2518 "integrity": "sha512-ekoj4qOQYp7CvjX8ZDBgN86w3MqQhLE1hczEJbEIjgFEumDy+na/4AJAbLXfgEWFNB2pKadM5rPFtuSGMWK7xA=="
2502 }, 2519 },
2520 + "@types/prop-types": {
2521 + "version": "15.7.4",
2522 + "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.4.tgz",
2523 + "integrity": "sha512-rZ5drC/jWjrArrS8BR6SIr4cWpW09RNTYt9AMZo3Jwwif+iacXAqgVjm0B0Bv/S1jhDXKHqRVNCbACkJ89RAnQ=="
2524 + },
2503 "@types/q": { 2525 "@types/q": {
2504 "version": "1.5.5", 2526 "version": "1.5.5",
2505 "resolved": "https://registry.npmjs.org/@types/q/-/q-1.5.5.tgz", 2527 "resolved": "https://registry.npmjs.org/@types/q/-/q-1.5.5.tgz",
2506 "integrity": "sha512-L28j2FcJfSZOnL1WBjDYp2vUHCeIFlyYI/53EwD/rKUBQ7MtUUfbQWiyKJGpcnv4/WgrhWsFKrcPstcAt/J0tQ==" 2528 "integrity": "sha512-L28j2FcJfSZOnL1WBjDYp2vUHCeIFlyYI/53EwD/rKUBQ7MtUUfbQWiyKJGpcnv4/WgrhWsFKrcPstcAt/J0tQ=="
2507 }, 2529 },
2530 + "@types/react": {
2531 + "version": "17.0.37",
2532 + "resolved": "https://registry.npmjs.org/@types/react/-/react-17.0.37.tgz",
2533 + "integrity": "sha512-2FS1oTqBGcH/s0E+CjrCCR9+JMpsu9b69RTFO+40ua43ZqP5MmQ4iUde/dMjWR909KxZwmOQIFq6AV6NjEG5xg==",
2534 + "requires": {
2535 + "@types/prop-types": "*",
2536 + "@types/scheduler": "*",
2537 + "csstype": "^3.0.2"
2538 + }
2539 + },
2540 + "@types/react-redux": {
2541 + "version": "7.1.20",
2542 + "resolved": "https://registry.npmjs.org/@types/react-redux/-/react-redux-7.1.20.tgz",
2543 + "integrity": "sha512-q42es4c8iIeTgcnB+yJgRTTzftv3eYYvCZOh1Ckn2eX/3o5TdsQYKUWpLoLuGlcY/p+VAhV9IOEZJcWk/vfkXw==",
2544 + "requires": {
2545 + "@types/hoist-non-react-statics": "^3.3.0",
2546 + "@types/react": "*",
2547 + "hoist-non-react-statics": "^3.3.0",
2548 + "redux": "^4.0.0"
2549 + }
2550 + },
2508 "@types/resolve": { 2551 "@types/resolve": {
2509 "version": "0.0.8", 2552 "version": "0.0.8",
2510 "resolved": "https://registry.npmjs.org/@types/resolve/-/resolve-0.0.8.tgz", 2553 "resolved": "https://registry.npmjs.org/@types/resolve/-/resolve-0.0.8.tgz",
...@@ -2513,6 +2556,11 @@ ...@@ -2513,6 +2556,11 @@
2513 "@types/node": "*" 2556 "@types/node": "*"
2514 } 2557 }
2515 }, 2558 },
2559 + "@types/scheduler": {
2560 + "version": "0.16.2",
2561 + "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.2.tgz",
2562 + "integrity": "sha512-hppQEBDmlwhFAXKJX2KnWLYu5yMfi91yazPb2l+lbJiwW+wdo1gNeRA+3RgNSO39WYX2euey41KEwnqesU2Jew=="
2563 + },
2516 "@types/source-list-map": { 2564 "@types/source-list-map": {
2517 "version": "0.1.2", 2565 "version": "0.1.2",
2518 "resolved": "https://registry.npmjs.org/@types/source-list-map/-/source-list-map-0.1.2.tgz", 2566 "resolved": "https://registry.npmjs.org/@types/source-list-map/-/source-list-map-0.1.2.tgz",
...@@ -3273,6 +3321,14 @@ ...@@ -3273,6 +3321,14 @@
3273 "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.3.5.tgz", 3321 "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.3.5.tgz",
3274 "integrity": "sha512-WKTW1+xAzhMS5dJsxWkliixlO/PqC4VhmO9T4juNYcaTg9jzWiJsou6m5pxWYGfigWbwzJWeFY6z47a+4neRXA==" 3322 "integrity": "sha512-WKTW1+xAzhMS5dJsxWkliixlO/PqC4VhmO9T4juNYcaTg9jzWiJsou6m5pxWYGfigWbwzJWeFY6z47a+4neRXA=="
3275 }, 3323 },
3324 + "axios": {
3325 + "version": "0.24.0",
3326 + "resolved": "https://registry.npmjs.org/axios/-/axios-0.24.0.tgz",
3327 + "integrity": "sha512-Q6cWsys88HoPgAaFAVUb0WpPk0O8iTeisR9IMqy9G8AbO4NlpVknrnQS03zzF9PGAWgO3cgletO3VjV/P7VztA==",
3328 + "requires": {
3329 + "follow-redirects": "^1.14.4"
3330 + }
3331 + },
3276 "axobject-query": { 3332 "axobject-query": {
3277 "version": "2.2.0", 3333 "version": "2.2.0",
3278 "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-2.2.0.tgz", 3334 "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-2.2.0.tgz",
...@@ -5008,6 +5064,11 @@ ...@@ -5008,6 +5064,11 @@
5008 } 5064 }
5009 } 5065 }
5010 }, 5066 },
5067 + "csstype": {
5068 + "version": "3.0.10",
5069 + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.0.10.tgz",
5070 + "integrity": "sha512-2u44ZG2OcNUO9HDp/Jl8C07x6pU/eTR3ncV91SiK3dhG9TWvRVsCoJw14Ckx5DgWkzGA3waZWO3d7pgqpUI/XA=="
5071 + },
5011 "cyclist": { 5072 "cyclist": {
5012 "version": "1.0.1", 5073 "version": "1.0.1",
5013 "resolved": "https://registry.npmjs.org/cyclist/-/cyclist-1.0.1.tgz", 5074 "resolved": "https://registry.npmjs.org/cyclist/-/cyclist-1.0.1.tgz",
...@@ -6852,6 +6913,15 @@ ...@@ -6852,6 +6913,15 @@
6852 "readable-stream": "^2.3.6" 6913 "readable-stream": "^2.3.6"
6853 } 6914 }
6854 }, 6915 },
6916 + "flux-standard-action": {
6917 + "version": "2.1.2",
6918 + "resolved": "https://registry.npmjs.org/flux-standard-action/-/flux-standard-action-2.1.2.tgz",
6919 + "integrity": "sha512-7vdgawlphCjzaMLdpZv8hlGC/FJCXu6sqE3Wuqe3HLZ22KcDiO4IFplxLDePDhEt6hgCrugt45RoUObuzZP6Kg==",
6920 + "requires": {
6921 + "lodash.isplainobject": "^4.0.6",
6922 + "lodash.isstring": "^4.0.1"
6923 + }
6924 + },
6855 "follow-redirects": { 6925 "follow-redirects": {
6856 "version": "1.14.5", 6926 "version": "1.14.5",
6857 "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.5.tgz", 6927 "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.5.tgz",
...@@ -7485,6 +7555,14 @@ ...@@ -7485,6 +7555,14 @@
7485 "minimalistic-crypto-utils": "^1.0.1" 7555 "minimalistic-crypto-utils": "^1.0.1"
7486 } 7556 }
7487 }, 7557 },
7558 + "hoist-non-react-statics": {
7559 + "version": "3.3.2",
7560 + "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz",
7561 + "integrity": "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==",
7562 + "requires": {
7563 + "react-is": "^16.7.0"
7564 + }
7565 + },
7488 "hoopy": { 7566 "hoopy": {
7489 "version": "0.1.4", 7567 "version": "0.1.4",
7490 "resolved": "https://registry.npmjs.org/hoopy/-/hoopy-0.1.4.tgz", 7568 "resolved": "https://registry.npmjs.org/hoopy/-/hoopy-0.1.4.tgz",
...@@ -7681,110 +7759,21 @@ ...@@ -7681,110 +7759,21 @@
7681 } 7759 }
7682 }, 7760 },
7683 "http-proxy-middleware": { 7761 "http-proxy-middleware": {
7684 - "version": "0.19.1", 7762 + "version": "2.0.1",
7685 - "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-0.19.1.tgz", 7763 + "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-2.0.1.tgz",
7686 - "integrity": "sha512-yHYTgWMQO8VvwNS22eLLloAkvungsKdKTLO8AJlftYIKNfJr3GK3zK0ZCfzDDGUBttdGc8xFy1mCitvNKQtC3Q==", 7764 + "integrity": "sha512-cfaXRVoZxSed/BmkA7SwBVNI9Kj7HFltaE5rqYOub5kWzWZ+gofV2koVN1j2rMW7pEfSSlCHGJ31xmuyFyfLOg==",
7687 "requires": { 7765 "requires": {
7688 - "http-proxy": "^1.17.0", 7766 + "@types/http-proxy": "^1.17.5",
7689 - "is-glob": "^4.0.0", 7767 + "http-proxy": "^1.18.1",
7690 - "lodash": "^4.17.11", 7768 + "is-glob": "^4.0.1",
7691 - "micromatch": "^3.1.10" 7769 + "is-plain-obj": "^3.0.0",
7770 + "micromatch": "^4.0.2"
7692 }, 7771 },
7693 "dependencies": { 7772 "dependencies": {
7694 - "braces": { 7773 + "is-plain-obj": {
7695 - "version": "2.3.2",
7696 - "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz",
7697 - "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==",
7698 - "requires": {
7699 - "arr-flatten": "^1.1.0",
7700 - "array-unique": "^0.3.2",
7701 - "extend-shallow": "^2.0.1",
7702 - "fill-range": "^4.0.0",
7703 - "isobject": "^3.0.1",
7704 - "repeat-element": "^1.1.2",
7705 - "snapdragon": "^0.8.1",
7706 - "snapdragon-node": "^2.0.1",
7707 - "split-string": "^3.0.2",
7708 - "to-regex": "^3.0.1"
7709 - },
7710 - "dependencies": {
7711 - "extend-shallow": {
7712 - "version": "2.0.1",
7713 - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
7714 - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
7715 - "requires": {
7716 - "is-extendable": "^0.1.0"
7717 - }
7718 - }
7719 - }
7720 - },
7721 - "fill-range": {
7722 - "version": "4.0.0",
7723 - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz",
7724 - "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=",
7725 - "requires": {
7726 - "extend-shallow": "^2.0.1",
7727 - "is-number": "^3.0.0",
7728 - "repeat-string": "^1.6.1",
7729 - "to-regex-range": "^2.1.0"
7730 - },
7731 - "dependencies": {
7732 - "extend-shallow": {
7733 - "version": "2.0.1",
7734 - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
7735 - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",
7736 - "requires": {
7737 - "is-extendable": "^0.1.0"
7738 - }
7739 - }
7740 - }
7741 - },
7742 - "is-number": {
7743 "version": "3.0.0", 7774 "version": "3.0.0",
7744 - "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", 7775 + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-3.0.0.tgz",
7745 - "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", 7776 + "integrity": "sha512-gwsOE28k+23GP1B6vFl1oVh/WOzmawBrKwo5Ev6wMKzPkaXaCDIQKzLnvsA42DRlbVTWorkgTKIviAKCWkfUwA=="
7746 - "requires": {
7747 - "kind-of": "^3.0.2"
7748 - },
7749 - "dependencies": {
7750 - "kind-of": {
7751 - "version": "3.2.2",
7752 - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
7753 - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
7754 - "requires": {
7755 - "is-buffer": "^1.1.5"
7756 - }
7757 - }
7758 - }
7759 - },
7760 - "micromatch": {
7761 - "version": "3.1.10",
7762 - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz",
7763 - "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==",
7764 - "requires": {
7765 - "arr-diff": "^4.0.0",
7766 - "array-unique": "^0.3.2",
7767 - "braces": "^2.3.1",
7768 - "define-property": "^2.0.2",
7769 - "extend-shallow": "^3.0.2",
7770 - "extglob": "^2.0.4",
7771 - "fragment-cache": "^0.2.1",
7772 - "kind-of": "^6.0.2",
7773 - "nanomatch": "^1.2.9",
7774 - "object.pick": "^1.3.0",
7775 - "regex-not": "^1.0.0",
7776 - "snapdragon": "^0.8.1",
7777 - "to-regex": "^3.0.2"
7778 - }
7779 - },
7780 - "to-regex-range": {
7781 - "version": "2.1.1",
7782 - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz",
7783 - "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=",
7784 - "requires": {
7785 - "is-number": "^3.0.0",
7786 - "repeat-string": "^1.6.1"
7787 - }
7788 } 7777 }
7789 } 7778 }
7790 }, 7779 },
...@@ -8235,6 +8224,11 @@ ...@@ -8235,6 +8224,11 @@
8235 "resolved": "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz", 8224 "resolved": "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz",
8236 "integrity": "sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==" 8225 "integrity": "sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ=="
8237 }, 8226 },
8227 + "is-promise": {
8228 + "version": "2.2.2",
8229 + "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz",
8230 + "integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ=="
8231 + },
8238 "is-regex": { 8232 "is-regex": {
8239 "version": "1.1.4", 8233 "version": "1.1.4",
8240 "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", 8234 "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz",
...@@ -9819,9 +9813,9 @@ ...@@ -9819,9 +9813,9 @@
9819 "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==" 9813 "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w=="
9820 }, 9814 },
9821 "json-schema": { 9815 "json-schema": {
9822 - "version": "0.2.3", 9816 + "version": "0.4.0",
9823 - "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", 9817 + "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.4.0.tgz",
9824 - "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=" 9818 + "integrity": "sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA=="
9825 }, 9819 },
9826 "json-schema-traverse": { 9820 "json-schema-traverse": {
9827 "version": "0.4.1", 9821 "version": "0.4.1",
...@@ -9861,13 +9855,13 @@ ...@@ -9861,13 +9855,13 @@
9861 } 9855 }
9862 }, 9856 },
9863 "jsprim": { 9857 "jsprim": {
9864 - "version": "1.4.1", 9858 + "version": "1.4.2",
9865 - "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", 9859 + "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.2.tgz",
9866 - "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=", 9860 + "integrity": "sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw==",
9867 "requires": { 9861 "requires": {
9868 "assert-plus": "1.0.0", 9862 "assert-plus": "1.0.0",
9869 "extsprintf": "1.3.0", 9863 "extsprintf": "1.3.0",
9870 - "json-schema": "0.2.3", 9864 + "json-schema": "0.4.0",
9871 "verror": "1.10.0" 9865 "verror": "1.10.0"
9872 } 9866 }
9873 }, 9867 },
...@@ -9989,6 +9983,16 @@ ...@@ -9989,6 +9983,16 @@
9989 "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", 9983 "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz",
9990 "integrity": "sha1-gteb/zCmfEAF/9XiUVMArZyk168=" 9984 "integrity": "sha1-gteb/zCmfEAF/9XiUVMArZyk168="
9991 }, 9985 },
9986 + "lodash.isplainobject": {
9987 + "version": "4.0.6",
9988 + "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz",
9989 + "integrity": "sha1-fFJqUtibRcRcxpC4gWO+BJf1UMs="
9990 + },
9991 + "lodash.isstring": {
9992 + "version": "4.0.1",
9993 + "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz",
9994 + "integrity": "sha1-1SfftUVuynzJu5XV2ur4i6VKVFE="
9995 + },
9992 "lodash.memoize": { 9996 "lodash.memoize": {
9993 "version": "4.1.2", 9997 "version": "4.1.2",
9994 "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz", 9998 "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz",
...@@ -12882,6 +12886,26 @@ ...@@ -12882,6 +12886,26 @@
12882 "warning": "^4.0.2" 12886 "warning": "^4.0.2"
12883 } 12887 }
12884 }, 12888 },
12889 + "react-redux": {
12890 + "version": "7.2.6",
12891 + "resolved": "https://registry.npmjs.org/react-redux/-/react-redux-7.2.6.tgz",
12892 + "integrity": "sha512-10RPdsz0UUrRL1NZE0ejTkucnclYSgXp5q+tB5SWx2qeG2ZJQJyymgAhwKy73yiL/13btfB6fPr+rgbMAaZIAQ==",
12893 + "requires": {
12894 + "@babel/runtime": "^7.15.4",
12895 + "@types/react-redux": "^7.1.20",
12896 + "hoist-non-react-statics": "^3.3.2",
12897 + "loose-envify": "^1.4.0",
12898 + "prop-types": "^15.7.2",
12899 + "react-is": "^17.0.2"
12900 + },
12901 + "dependencies": {
12902 + "react-is": {
12903 + "version": "17.0.2",
12904 + "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz",
12905 + "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w=="
12906 + }
12907 + }
12908 + },
12885 "react-refresh": { 12909 "react-refresh": {
12886 "version": "0.8.3", 12910 "version": "0.8.3",
12887 "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.8.3.tgz", 12911 "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.8.3.tgz",
...@@ -13045,6 +13069,33 @@ ...@@ -13045,6 +13069,33 @@
13045 "strip-indent": "^3.0.0" 13069 "strip-indent": "^3.0.0"
13046 } 13070 }
13047 }, 13071 },
13072 + "redux": {
13073 + "version": "4.1.2",
13074 + "resolved": "https://registry.npmjs.org/redux/-/redux-4.1.2.tgz",
13075 + "integrity": "sha512-SH8PglcebESbd/shgf6mii6EIoRM0zrQyjcuQ+ojmfxjTtE0z9Y8pa62iA/OJ58qjP6j27uyW4kUF4jl/jd6sw==",
13076 + "requires": {
13077 + "@babel/runtime": "^7.9.2"
13078 + }
13079 + },
13080 + "redux-promise": {
13081 + "version": "0.6.0",
13082 + "resolved": "https://registry.npmjs.org/redux-promise/-/redux-promise-0.6.0.tgz",
13083 + "integrity": "sha512-R2mGxJbPFgXyCNbFDE6LjTZhCEuACF54g1bxld3nqBhnRMX0OsUyWk77moF7UMGkUdl5WOAwc4BC5jOd1dunqQ==",
13084 + "requires": {
13085 + "flux-standard-action": "^2.0.3",
13086 + "is-promise": "^2.1.0"
13087 + }
13088 + },
13089 + "redux-promise-middleware": {
13090 + "version": "6.1.2",
13091 + "resolved": "https://registry.npmjs.org/redux-promise-middleware/-/redux-promise-middleware-6.1.2.tgz",
13092 + "integrity": "sha512-ZqZu/nnSzGgwTtNbGoGVontpk7LjTOv0kigtt3CcgXI9gpq+8WlfXTXRZD0WTD5yaohRq0q2nYmJXSTjwXs83Q=="
13093 + },
13094 + "redux-thunk": {
13095 + "version": "2.4.1",
13096 + "resolved": "https://registry.npmjs.org/redux-thunk/-/redux-thunk-2.4.1.tgz",
13097 + "integrity": "sha512-OOYGNY5Jy2TWvTL1KgAlVy6dcx3siPJ1wTq741EPyUKfn6W6nChdICjZwCd0p8AZBs5kWpZlbkXW2nE/zjUa+Q=="
13098 + },
13048 "regenerate": { 13099 "regenerate": {
13049 "version": "1.4.2", 13100 "version": "1.4.2",
13050 "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz", 13101 "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz",
...@@ -16389,6 +16440,17 @@ ...@@ -16389,6 +16440,17 @@
16389 } 16440 }
16390 } 16441 }
16391 }, 16442 },
16443 + "http-proxy-middleware": {
16444 + "version": "0.19.1",
16445 + "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-0.19.1.tgz",
16446 + "integrity": "sha512-yHYTgWMQO8VvwNS22eLLloAkvungsKdKTLO8AJlftYIKNfJr3GK3zK0ZCfzDDGUBttdGc8xFy1mCitvNKQtC3Q==",
16447 + "requires": {
16448 + "http-proxy": "^1.17.0",
16449 + "is-glob": "^4.0.0",
16450 + "lodash": "^4.17.11",
16451 + "micromatch": "^3.1.10"
16452 + }
16453 + },
16392 "import-local": { 16454 "import-local": {
16393 "version": "2.0.0", 16455 "version": "2.0.0",
16394 "resolved": "https://registry.npmjs.org/import-local/-/import-local-2.0.0.tgz", 16456 "resolved": "https://registry.npmjs.org/import-local/-/import-local-2.0.0.tgz",
......
...@@ -6,11 +6,18 @@ ...@@ -6,11 +6,18 @@
6 "@testing-library/jest-dom": "^5.15.0", 6 "@testing-library/jest-dom": "^5.15.0",
7 "@testing-library/react": "^11.2.7", 7 "@testing-library/react": "^11.2.7",
8 "@testing-library/user-event": "^12.8.3", 8 "@testing-library/user-event": "^12.8.3",
9 + "axios": "^0.24.0",
10 + "http-proxy-middleware": "^2.0.1",
9 "node-sass": "^6.0.1", 11 "node-sass": "^6.0.1",
10 "react": "^17.0.2", 12 "react": "^17.0.2",
11 "react-dom": "^17.0.2", 13 "react-dom": "^17.0.2",
14 + "react-redux": "^7.2.6",
12 "react-router-dom": "^6.0.2", 15 "react-router-dom": "^6.0.2",
13 "react-scripts": "4.0.3", 16 "react-scripts": "4.0.3",
17 + "redux": "^4.1.2",
18 + "redux-promise": "^0.6.0",
19 + "redux-promise-middleware": "^6.1.2",
20 + "redux-thunk": "^2.4.1",
14 "semantic-ui-css": "^2.4.1", 21 "semantic-ui-css": "^2.4.1",
15 "semantic-ui-react": "^2.0.4", 22 "semantic-ui-react": "^2.0.4",
16 "web-vitals": "^1.1.2" 23 "web-vitals": "^1.1.2"
......
...@@ -9,21 +9,6 @@ ...@@ -9,21 +9,6 @@
9 name="description" 9 name="description"
10 content="Web site created using create-react-app" 10 content="Web site created using create-react-app"
11 /> 11 />
12 - <link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
13 - <!--
14 - manifest.json provides metadata used when your web app is installed on a
15 - user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
16 - -->
17 - <link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
18 - <!--
19 - Notice the use of %PUBLIC_URL% in the tags above.
20 - It will be replaced with the URL of the `public` folder during the build.
21 - Only files inside the `public` folder can be referenced from the HTML.
22 -
23 - Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
24 - work correctly both with client-side routing and a non-root public URL.
25 - Learn how to configure a non-root public URL by running `npm run build`.
26 - -->
27 <title>React App</title> 12 <title>React App</title>
28 </head> 13 </head>
29 <body> 14 <body>
......
1 -{
2 - "short_name": "React App",
3 - "name": "Create React App Sample",
4 - "icons": [
5 - {
6 - "src": "favicon.ico",
7 - "sizes": "64x64 32x32 24x24 16x16",
8 - "type": "image/x-icon"
9 - },
10 - {
11 - "src": "logo192.png",
12 - "type": "image/png",
13 - "sizes": "192x192"
14 - },
15 - {
16 - "src": "logo512.png",
17 - "type": "image/png",
18 - "sizes": "512x512"
19 - }
20 - ],
21 - "start_url": ".",
22 - "display": "standalone",
23 - "theme_color": "#000000",
24 - "background_color": "#ffffff"
25 -}
1 -//import React, {useState} from "react";
2 import {BrowserRouter as Router, Route, Routes, Link} from "react-router-dom"; 1 import {BrowserRouter as Router, Route, Routes, Link} from "react-router-dom";
3 -import MainPage from "./component/views/LandingPage/MainPage"; 2 +import MainPage from "./component/views/MainPage/MainPage";
4 import LoginPage from "./component/views/LoginPage/LoginPage"; 3 import LoginPage from "./component/views/LoginPage/LoginPage";
5 import RegisterPage from "./component/views/RegisterPage/RegisterPage"; 4 import RegisterPage from "./component/views/RegisterPage/RegisterPage";
6 import "./static/fonts/font.css"; 5 import "./static/fonts/font.css";
6 +import LandingPage from "./component/views/LandingPage/LandingPage";
7 +
7 function App () { 8 function App () {
8 return ( 9 return (
9 <Router> 10 <Router>
10 <div> 11 <div>
11 - {}
12 <Routes> 12 <Routes>
13 - <Route exact path = "/main" element={<MainPage/>}/> 13 + <Route exact path = "/" element={<LandingPage/>}/>
14 - <Route exact path = "/login" element={<LoginPage/>}/> 14 + <Route exact path = "/login" element={<LoginPage/>}/>
15 - <Route exact path = "/register" element={<RegisterPage/>}/> 15 + <Route exact path = "/main" element={<MainPage/>}/>
16 + <Route exact path = "/register" element={<RegisterPage/>}/>
16 </Routes> 17 </Routes>
17 </div> 18 </div>
18 </Router> 19 </Router>
......
1 +export const LOGIN_USER = "login_user";
...\ No newline at end of file ...\ No newline at end of file
1 +import Axios from 'axios';
2 +import { LOGIN_USER } from './types';
3 +
4 +export function loginUser(dataToSubmit) {
5 +
6 + const request = Axios.post('/api/users/login', dataToSubmit)
7 + .then( response => response.data )
8 + return {
9 + type: LOGIN_USER,
10 + payload: request
11 + }
12 +}
...\ No newline at end of file ...\ No newline at end of file
1 +import { combineReducers } from 'redux';
2 +import user from './user_reducer';
3 +
4 +const rootReducer = combineReducers({
5 + user
6 +})
7 +
8 +export default rootReducer;
1 +import {
2 + LOGIN_USER
3 +} from '../_actions/types';
4 +
5 +export default function (state = {}, action) {
6 + switch (action.type) {
7 + case LOGIN_USER:
8 + return { ...state, loginSuccess: action.payload }
9 + break;
10 +
11 + default:
12 + return state;
13 + }
14 +}
...\ No newline at end of file ...\ No newline at end of file
1 +import React, { useEffect } from 'react'
2 +import axios from 'axios'
3 +// import { response } from 'express'
4 +
5 +function LandingPage() {
6 +
7 + useEffect(() => {
8 + axios.get('/api/hello')
9 + .then(response => console.log(response.data))
10 + }, [])
11 +
12 + return (
13 + <div>
14 + LandingPage
15 + </div>
16 + )
17 +}
18 +
19 +export default LandingPage
20 +
1 -import React, { useState } from "react"; 1 +import React, {useEffect, useState} from "react";
2 +import Axios from 'axios'
3 +import {Link} from "react-router-dom";
2 import "../style/LoginPage.scss"; 4 import "../style/LoginPage.scss";
3 import { Icon, Input } from "semantic-ui-react" 5 import { Icon, Input } from "semantic-ui-react"
4 import { useNavigate } from "react-router-dom"; 6 import { useNavigate } from "react-router-dom";
7 +import {useDispatch} from "react-redux";
8 +import { loginUser } from '../../../_actions/user_action'
5 9
6 -function LoginPage() { 10 +function LoginPage(props) {
11 + const dispatch = useDispatch();
7 const navigate = useNavigate(); 12 const navigate = useNavigate();
8 13
9 - const [Email, setEmail] = useState(""); 14 + const [Id, setId] = useState("");
10 const [Password, setPassword] = useState(""); 15 const [Password, setPassword] = useState("");
11 16
12 const onIdHandler = (event) => { 17 const onIdHandler = (event) => {
13 - setEmail(event.currentTarget.value); 18 + setId(event.currentTarget.value);
14 }; 19 };
15 const onPasswordHandler = (event) => { 20 const onPasswordHandler = (event) => {
16 setPassword(event.currentTarget.value); 21 setPassword(event.currentTarget.value);
17 }; 22 };
18 const onSubmitHandler = (event) => { 23 const onSubmitHandler = (event) => {
19 event.preventDefault(); 24 event.preventDefault();
20 - console.log("Email", Email); 25 + console.log("ID", Id);
21 console.log("Password", Password); 26 console.log("Password", Password);
27 + let body = {
28 + email: Id,
29 + password: Password
30 + }
31 + dispatch(loginUser(body))
32 + .then(response => {
33 + if (response.payload.loginSuccess) {
34 + props.history.push('/main')
35 + }
36 + else{
37 + alert('Error')
38 + }
39 + })
40 +
22 }; 41 };
23 42
24 const goToRegister = () => { 43 const goToRegister = () => {
25 navigate('/register'); 44 navigate('/register');
26 } 45 }
27 -
28 return ( 46 return (
29 <div id="body"> 47 <div id="body">
30 <div className="login-form"> 48 <div className="login-form">
...@@ -34,9 +52,9 @@ function LoginPage() { ...@@ -34,9 +52,9 @@ function LoginPage() {
34 <Input 52 <Input
35 icon={<Icon name='at'/>} 53 icon={<Icon name='at'/>}
36 iconPosition='left' 54 iconPosition='left'
37 - placeholder="Email" 55 + placeholder="ID"
38 type="text" 56 type="text"
39 - value={Email} 57 + value={Id}
40 autoComplete="off" 58 autoComplete="off"
41 onChange={onIdHandler}/> 59 onChange={onIdHandler}/>
42 </div> 60 </div>
......
1 import {Button, Grid, Image, Segment} from "semantic-ui-react" 1 import {Button, Grid, Image, Segment} from "semantic-ui-react"
2 import "../style/MainPage.scss"; 2 import "../style/MainPage.scss";
3 +import {useNavigate} from "react-router-dom";
4 +
3 function MainPage() { 5 function MainPage() {
6 + const navigate = useNavigate();
7 + const goToLogin = () =>{
8 + navigate('/login');
9 + }
4 return ( 10 return (
5 <div id="Main"> 11 <div id="Main">
6 <div className="Main-header"> 12 <div className="Main-header">
...@@ -8,7 +14,7 @@ function MainPage() { ...@@ -8,7 +14,7 @@ function MainPage() {
8 <h1>Tunnel</h1> 14 <h1>Tunnel</h1>
9 </div> 15 </div>
10 <div className="None-title"> 16 <div className="None-title">
11 - <Button className="ui right floated button"> 17 + <Button className="ui right floated button" onClick={()=>goToLogin()}>
12 Logout 18 Logout
13 </Button> 19 </Button>
14 </div> 20 </div>
......
1 import React, {useCallback, useState} from "react"; 1 import React, {useCallback, useState} from "react";
2 import "../style/RegisterPage.scss"; 2 import "../style/RegisterPage.scss";
3 -import { Form, Message, Button, Icon, Input } from "semantic-ui-react"; 3 +import { Button, Icon, Input } from "semantic-ui-react";
4 -import backgroundImg from "../images/register_background.png";
5 4
6 function RegisterPage() { 5 function RegisterPage() {
7 - const [Email, setEmail] = useState(""); 6 + const [Id, setId] = useState("");
8 const [Password, setPassword] = useState(""); 7 const [Password, setPassword] = useState("");
9 const [PasswordCheck,setPasswordCheck] = useState(""); 8 const [PasswordCheck,setPasswordCheck] = useState("");
10 const [Personality, setPersonality] = useState(""); 9 const [Personality, setPersonality] = useState("");
11 const [PasswordError,setPasswordError] = useState(false); 10 const [PasswordError,setPasswordError] = useState(false);
12 11
13 const onIdHandler = (event) => { 12 const onIdHandler = (event) => {
14 - setEmail(event.currentTarget.value); 13 + setId(event.currentTarget.value);
15 }; 14 };
16 const onPasswordHandler = (event) => { 15 const onPasswordHandler = (event) => {
17 setPassword(event.currentTarget.value); 16 setPassword(event.currentTarget.value);
...@@ -25,14 +24,15 @@ function RegisterPage() { ...@@ -25,14 +24,15 @@ function RegisterPage() {
25 },[PasswordCheck]); 24 },[PasswordCheck]);
26 const onSubmitHandler = useCallback((event) => { 25 const onSubmitHandler = useCallback((event) => {
27 event.preventDefault(); 26 event.preventDefault();
27 + console.log("ID", Id);
28 + console.log("Password", Password);
29 + console.log("MBTI", Personality);
28 if(Password !== PasswordCheck){ 30 if(Password !== PasswordCheck){
29 return setPasswordError(true); 31 return setPasswordError(true);
30 } 32 }
31 else{ 33 else{
32 return setPasswordError(false); 34 return setPasswordError(false);
33 } 35 }
34 - console.log("Email",Email);
35 - console.log("Password", Password);
36 },[Password,PasswordCheck]); 36 },[Password,PasswordCheck]);
37 37
38 return ( 38 return (
...@@ -46,12 +46,22 @@ function RegisterPage() { ...@@ -46,12 +46,22 @@ function RegisterPage() {
46 iconPosition='left' 46 iconPosition='left'
47 placeholder="Email" 47 placeholder="Email"
48 type="text" 48 type="text"
49 - value={Email} 49 + value={Id}
50 autoComplete="off" 50 autoComplete="off"
51 required onChange={onIdHandler}/> 51 required onChange={onIdHandler}/>
52 </div> 52 </div>
53 <div className="input-area"> 53 <div className="input-area">
54 <Input 54 <Input
55 + icon={<Icon name='heart'/>}
56 + iconPosition='left'
57 + placeholder="Your MBTI"
58 + type="text"
59 + value={Personality}
60 + autoComplete="off"
61 + onChange={onPersonalityHandler}/>
62 + </div>
63 + <div className="input-area">
64 + <Input
55 icon={<Icon name='lock'/>} 65 icon={<Icon name='lock'/>}
56 iconPosition='left' 66 iconPosition='left'
57 placeholder="Password" 67 placeholder="Password"
...@@ -61,14 +71,7 @@ function RegisterPage() { ...@@ -61,14 +71,7 @@ function RegisterPage() {
61 onChange={onPasswordHandler} 71 onChange={onPasswordHandler}
62 onFocus={()=>setPasswordError(false)}/> 72 onFocus={()=>setPasswordError(false)}/>
63 {PasswordError && 73 {PasswordError &&
64 - <Form error> 74 + <div>비밀번호 오류</div>
65 - <Message
66 - error
67 - header='Action Forbidden'
68 - content='You can only sign up for an account once with a given e-mail address.'
69 - />
70 - <Button>Submit</Button>
71 - </Form>
72 } 75 }
73 </div> 76 </div>
74 <div className="input-area"> 77 <div className="input-area">
...@@ -81,24 +84,12 @@ function RegisterPage() { ...@@ -81,24 +84,12 @@ function RegisterPage() {
81 autoComplete="off" 84 autoComplete="off"
82 onChange={onPasswordChkHandler} 85 onChange={onPasswordChkHandler}
83 onFocus={()=>setPasswordError(false)}/> 86 onFocus={()=>setPasswordError(false)}/>
84 -
85 - </div>
86 - <div className="input-area">
87 - <Input
88 - icon={<Icon name='heart'/>}
89 - iconPosition='left'
90 - placeholder="Your MBTI"
91 - type="text"
92 - value={Personality}
93 - autoComplete="off"
94 - onChange={onPersonalityHandler}/>
95 </div> 87 </div>
96 <div className="btn-area" > 88 <div className="btn-area" >
97 <Button className='register-btn' 89 <Button className='register-btn'
98 content='Sign up' 90 content='Sign up'
99 icon='signup' 91 icon='signup'
100 - size='small' 92 + size='small'/>
101 - iconPosition='left'/>
102 </div> 93 </div>
103 </form> 94 </form>
104 </div> 95 </div>
......
1 import React from 'react'; 1 import React from 'react';
2 import ReactDOM from 'react-dom'; 2 import ReactDOM from 'react-dom';
3 +import {Provider} from "react-redux";
3 import './index.css'; 4 import './index.css';
4 import App from './App'; 5 import App from './App';
5 import 'semantic-ui-css/semantic.min.css' 6 import 'semantic-ui-css/semantic.min.css'
7 +import {applyMiddleware, createStore} from "redux";
8 +import promiseMiddleware from 'redux-promise-middleware'
9 +import ReduxThunk from 'redux-thunk'
10 +import Reducer from './_reducers';
6 11
12 +const createStoreWithMiddleWare = applyMiddleware(promiseMiddleware, ReduxThunk)(createStore)
7 ReactDOM.render( 13 ReactDOM.render(
8 - <React.StrictMode> 14 + <Provider store={createStoreWithMiddleWare(Reducer,
9 - <App /> 15 + window.__REDUX_DEVTOOLS_EXTENSION__ &&
10 - </React.StrictMode>, 16 + window.__REDUX_DEVTOOLS_EXTENSION__()
17 + )}>
18 + <App />
19 + </Provider>,
11 document.getElementById('root') 20 document.getElementById('root')
12 ); 21 );
13 22
......
1 -<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 841.9 595.3"><g fill="#61DAFB"><path d="M666.3 296.5c0-32.5-40.7-63.3-103.1-82.4 14.4-63.6 8-114.2-20.2-130.4-6.5-3.8-14.1-5.6-22.4-5.6v22.3c4.6 0 8.3.9 11.4 2.6 13.6 7.8 19.5 37.5 14.9 75.7-1.1 9.4-2.9 19.3-5.1 29.4-19.6-4.8-41-8.5-63.5-10.9-13.5-18.5-27.5-35.3-41.6-50 32.6-30.3 63.2-46.9 84-46.9V78c-27.5 0-63.5 19.6-99.9 53.6-36.4-33.8-72.4-53.2-99.9-53.2v22.3c20.7 0 51.4 16.5 84 46.6-14 14.7-28 31.4-41.3 49.9-22.6 2.4-44 6.1-63.6 11-2.3-10-4-19.7-5.2-29-4.7-38.2 1.1-67.9 14.6-75.8 3-1.8 6.9-2.6 11.5-2.6V78.5c-8.4 0-16 1.8-22.6 5.6-28.1 16.2-34.4 66.7-19.9 130.1-62.2 19.2-102.7 49.9-102.7 82.3 0 32.5 40.7 63.3 103.1 82.4-14.4 63.6-8 114.2 20.2 130.4 6.5 3.8 14.1 5.6 22.5 5.6 27.5 0 63.5-19.6 99.9-53.6 36.4 33.8 72.4 53.2 99.9 53.2 8.4 0 16-1.8 22.6-5.6 28.1-16.2 34.4-66.7 19.9-130.1 62-19.1 102.5-49.9 102.5-82.3zm-130.2-66.7c-3.7 12.9-8.3 26.2-13.5 39.5-4.1-8-8.4-16-13.1-24-4.6-8-9.5-15.8-14.4-23.4 14.2 2.1 27.9 4.7 41 7.9zm-45.8 106.5c-7.8 13.5-15.8 26.3-24.1 38.2-14.9 1.3-30 2-45.2 2-15.1 0-30.2-.7-45-1.9-8.3-11.9-16.4-24.6-24.2-38-7.6-13.1-14.5-26.4-20.8-39.8 6.2-13.4 13.2-26.8 20.7-39.9 7.8-13.5 15.8-26.3 24.1-38.2 14.9-1.3 30-2 45.2-2 15.1 0 30.2.7 45 1.9 8.3 11.9 16.4 24.6 24.2 38 7.6 13.1 14.5 26.4 20.8 39.8-6.3 13.4-13.2 26.8-20.7 39.9zm32.3-13c5.4 13.4 10 26.8 13.8 39.8-13.1 3.2-26.9 5.9-41.2 8 4.9-7.7 9.8-15.6 14.4-23.7 4.6-8 8.9-16.1 13-24.1zM421.2 430c-9.3-9.6-18.6-20.3-27.8-32 9 .4 18.2.7 27.5.7 9.4 0 18.7-.2 27.8-.7-9 11.7-18.3 22.4-27.5 32zm-74.4-58.9c-14.2-2.1-27.9-4.7-41-7.9 3.7-12.9 8.3-26.2 13.5-39.5 4.1 8 8.4 16 13.1 24 4.7 8 9.5 15.8 14.4 23.4zM420.7 163c9.3 9.6 18.6 20.3 27.8 32-9-.4-18.2-.7-27.5-.7-9.4 0-18.7.2-27.8.7 9-11.7 18.3-22.4 27.5-32zm-74 58.9c-4.9 7.7-9.8 15.6-14.4 23.7-4.6 8-8.9 16-13 24-5.4-13.4-10-26.8-13.8-39.8 13.1-3.1 26.9-5.8 41.2-7.9zm-90.5 125.2c-35.4-15.1-58.3-34.9-58.3-50.6 0-15.7 22.9-35.6 58.3-50.6 8.6-3.7 18-7 27.7-10.1 5.7 19.6 13.2 40 22.5 60.9-9.2 20.8-16.6 41.1-22.2 60.6-9.9-3.1-19.3-6.5-28-10.2zM310 490c-13.6-7.8-19.5-37.5-14.9-75.7 1.1-9.4 2.9-19.3 5.1-29.4 19.6 4.8 41 8.5 63.5 10.9 13.5 18.5 27.5 35.3 41.6 50-32.6 30.3-63.2 46.9-84 46.9-4.5-.1-8.3-1-11.3-2.7zm237.2-76.2c4.7 38.2-1.1 67.9-14.6 75.8-3 1.8-6.9 2.6-11.5 2.6-20.7 0-51.4-16.5-84-46.6 14-14.7 28-31.4 41.3-49.9 22.6-2.4 44-6.1 63.6-11 2.3 10.1 4.1 19.8 5.2 29.1zm38.5-66.7c-8.6 3.7-18 7-27.7 10.1-5.7-19.6-13.2-40-22.5-60.9 9.2-20.8 16.6-41.1 22.2-60.6 9.9 3.1 19.3 6.5 28.1 10.2 35.4 15.1 58.3 34.9 58.3 50.6-.1 15.7-23 35.6-58.4 50.6zM320.8 78.4z"/><circle cx="420.9" cy="296.5" r="45.7"/><path d="M520.5 78.1z"/></g></svg>
...\ No newline at end of file ...\ No newline at end of file
1 +const { createProxyMiddleware } = require('http-proxy-middleware');
2 +module.exports = function(app) {
3 + app.use(
4 + '/api',
5 + createProxyMiddleware({
6 + target: 'http://localhost:3000',
7 + changeOrigin: true,
8 + })
9 + );
10 +};
...\ No newline at end of file ...\ No newline at end of file