박민정

[feat] For deploy...

Showing 38 changed files with 148 additions and 53 deletions
node_modules
dev.js
\ No newline at end of file
node_modules
\ No newline at end of file
......
node_modules
dev.js
\ No newline at end of file
node_modules
\ No newline at end of file
......
web: npm start
\ No newline at end of file
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# dependencies
/node_modules
/.pnp
.pnp.js
# testing
/coverage
# production
/build
# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local
npm-debug.log*
yarn-debug.log*
yarn-error.log*
{
"files": {
"main.css": "/static/css/main.c9112ef1.chunk.css",
"main.js": "/static/js/main.30dbcb82.chunk.js",
"main.js.map": "/static/js/main.30dbcb82.chunk.js.map",
"runtime~main.js": "/static/js/runtime~main.a8a9905a.js",
"runtime~main.js.map": "/static/js/runtime~main.a8a9905a.js.map",
"static/css/2.b6ac9e22.chunk.css": "/static/css/2.b6ac9e22.chunk.css",
"static/js/2.4d47edc8.chunk.js": "/static/js/2.4d47edc8.chunk.js",
"static/js/2.4d47edc8.chunk.js.map": "/static/js/2.4d47edc8.chunk.js.map",
"index.html": "/index.html",
"precache-manifest.16488c9b14dd1aef91bfa2340fd902da.js": "/precache-manifest.16488c9b14dd1aef91bfa2340fd902da.js",
"service-worker.js": "/service-worker.js",
"static/css/2.b6ac9e22.chunk.css.map": "/static/css/2.b6ac9e22.chunk.css.map",
"static/css/main.c9112ef1.chunk.css.map": "/static/css/main.c9112ef1.chunk.css.map"
}
}
\ No newline at end of file
No preview for this file type
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="shortcut icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><link rel="manifest" href="/manifest.json"/><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous"/><title>약 배달 서비스 : 약사</title><link href="/static/css/2.b6ac9e22.chunk.css" rel="stylesheet"><link href="/static/css/main.c9112ef1.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(l){function e(e){for(var r,t,n=e[0],o=e[1],u=e[2],f=0,i=[];f<n.length;f++)t=n[f],p[t]&&i.push(p[t][0]),p[t]=0;for(r in o)Object.prototype.hasOwnProperty.call(o,r)&&(l[r]=o[r]);for(s&&s(e);i.length;)i.shift()();return c.push.apply(c,u||[]),a()}function a(){for(var e,r=0;r<c.length;r++){for(var t=c[r],n=!0,o=1;o<t.length;o++){var u=t[o];0!==p[u]&&(n=!1)}n&&(c.splice(r--,1),e=f(f.s=t[0]))}return e}var t={},p={1:0},c=[];function f(e){if(t[e])return t[e].exports;var r=t[e]={i:e,l:!1,exports:{}};return l[e].call(r.exports,r,r.exports,f),r.l=!0,r.exports}f.m=l,f.c=t,f.d=function(e,r,t){f.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},f.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.t=function(r,e){if(1&e&&(r=f(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(f.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var n in r)f.d(t,n,function(e){return r[e]}.bind(null,n));return t},f.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(r,"a",r),r},f.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},f.p="/";var r=window.webpackJsonp=window.webpackJsonp||[],n=r.push.bind(r);r.push=e,r=r.slice();for(var o=0;o<r.length;o++)e(r[o]);var s=n;a()}([])</script><script src="/static/js/2.4d47edc8.chunk.js"></script><script src="/static/js/main.30dbcb82.chunk.js"></script></body></html>
\ No newline at end of file
{
"short_name": "React App",
"name": "Create React App Sample",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}
self.__precacheManifest = (self.__precacheManifest || []).concat([
{
"revision": "d9dcd4703f5c7de8e5597152c1420acf",
"url": "/index.html"
},
{
"revision": "816cfabf4853ead8d600",
"url": "/static/css/2.b6ac9e22.chunk.css"
},
{
"revision": "176d56469d43bf1341fe",
"url": "/static/css/main.c9112ef1.chunk.css"
},
{
"revision": "816cfabf4853ead8d600",
"url": "/static/js/2.4d47edc8.chunk.js"
},
{
"revision": "176d56469d43bf1341fe",
"url": "/static/js/main.30dbcb82.chunk.js"
},
{
"revision": "42ac5946195a7306e2a5",
"url": "/static/js/runtime~main.a8a9905a.js"
}
]);
\ No newline at end of file
/**
* Welcome to your Workbox-powered service worker!
*
* You'll need to register this file in your web app and you should
* disable HTTP caching for this file too.
* See https://goo.gl/nhQhGp
*
* The rest of the code is auto-generated. Please don't update this file
* directly; instead, make changes to your Workbox build configuration
* and re-run your build process.
* See https://goo.gl/2aRDsh
*/
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
importScripts(
"/precache-manifest.16488c9b14dd1aef91bfa2340fd902da.js"
);
self.addEventListener('message', (event) => {
if (event.data && event.data.type === 'SKIP_WAITING') {
self.skipWaiting();
}
});
workbox.core.clientsClaim();
/**
* The workboxSW.precacheAndRoute() method efficiently caches and responds to
* requests for URLs in the manifest.
* See https://goo.gl/S9QRab
*/
self.__precacheManifest = [].concat(self.__precacheManifest || []);
workbox.precaching.precacheAndRoute(self.__precacheManifest, {});
workbox.routing.registerNavigationRoute(workbox.precaching.getCacheKeyForURL("/index.html"), {
blacklist: [/^\/_/,/\/[^/]+\.[^/]+$/],
});
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
@font-face{font-family:BRBA_B;src:url(https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_seven@1.2/BRBA_B.woff) format("woff");font-weight:400;font-style:normal}@font-face{font-family:InfinitySans-RegularA1;src:url(https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@2.1/InfinitySans-RegularA1.woff) format("woff");font-weight:400;font-style:normal}@font-face{font-family:GongGothicMedium;src:url(https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-10@1.0/GongGothicMedium.woff) format("woff");font-weight:400;font-style:normal}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;font-size:14px;line-height:1.5;color:#24292e;background-color:#fff}.app{flex-direction:column;display:flex;justify-content:center;align-items:center;height:100vh}input.error{border-color:red}.input-feedback{color:red;height:5px;margin-top:-12px}table{font-family:arial,sans-serif;border-collapse:collapse;width:100%}td,th{border:1px solid #ddd;text-align:left;padding:8px}tr:nth-child(2n){background-color:#ddd}h1{font-family:GongGothicMedium}h3{font-family:InfinitySans-RegularA1}.menu{padding:0 20px;border-bottom:1px solid #e8e8e8;overflow:auto;box-shadow:0 0 30px #f3f1f1;background-color:#fff}.menu__logo{width:150px;float:left}.menu__logo a{display:inline-block;font-size:20px;padding:19px 20px}.menu__container .ant-menu-item{padding:0 5px}.menu__container .ant-menu-submenu-title{padding:10px 20px}.menu__container .ant-menu-item a,.menu__container .ant-menu-submenu-title a{padding:10px 15px}.menu__container .ant-menu-horizontal{border-bottom:none}.menu__container .menu_left{float:left}.menu__container .menu_rigth{float:right}.menu__mobile-button{float:right;height:32px;padding:6px;margin-top:8px;display:none!important;background:#d3d3d3}.menu_drawer .ant-drawer-body{padding:0!important}.menu_drawer .ant-drawer-header{padding:14px 24px!important}@media (max-width:767px){.menu__mobile-button{display:inline-block!important}.menu_left,.menu_rigth{display:none}.menu__logo a{margin-left:-20px}.menu__container .ant-menu-item,.menu__container .ant-menu-submenu-title{padding:1px 20px}.menu__logo a{padding:10px 20px}}#test{position:relative}#alert,#test{width:300px;height:200px;border:1px solid #d3d3d3;border-radius:1em;display:flex}#alert{justify-content:center;align-items:center}#test:hover{-webkit-animation:del .2s forwards;animation:del .2s forwards}@-webkit-keyframes del{to{-webkit-filter:brightness(50%);filter:brightness(50%)}}@keyframes del{to{-webkit-filter:brightness(50%);filter:brightness(50%)}}#alert{position:relative;bottom:200px;opacity:0}#alert:hover{background-color:#000;color:#fff;-webkit-animation:fadeInUP 1s forwards;animation:fadeInUP 1s forwards}@-webkit-keyframes fadeInUP{to{opacity:.5}}@keyframes fadeInUP{to{opacity:.5}}
/*# sourceMappingURL=main.c9112ef1.chunk.css.map */
\ No newline at end of file
{"version":3,"sources":["index.css","Navbar.css","FileUpload.css"],"names":[],"mappings":"AACA,WACE,kBAAqB,CACrB,iGACgB,CAChB,eAAmB,CACnB,iBACF,CAEA,WACE,kCAAqC,CACrC,iHACgB,CAChB,eAAmB,CACnB,iBACF,CAEA,WACE,4BAA+B,CAC/B,2GACgB,CAChB,eAAmB,CACnB,iBACF,CAEA,KACE,QAAS,CACT,mIAEY,CACZ,kCAAmC,CACnC,iCACF,CAEA,KACE,uEAEF,CAEA,KACE,iIACsE,CACtE,cAAe,CACf,eAAgB,CAChB,aAAc,CACd,qBACF,CAEA,KACE,qBAAsB,CACtB,YAAa,CACb,sBAAuB,CACvB,kBAAmB,CACnB,YACF,CAEA,YACE,gBACF,CAEA,gBACE,SAAU,CACV,UAAW,CACX,gBACF,CAEA,MACE,4BAA8B,CAC9B,wBAAyB,CACzB,UACF,CAEA,MAEE,qBAAyB,CACzB,eAAgB,CAChB,WACF,CAEA,iBACE,qBACF,CAEA,GACE,4BACF,CAEA,GACE,kCACF,CCvFA,MACE,cAAe,CACf,+BAAgC,CAChC,aAAc,CACd,2BAA4B,CAC5B,qBACF,CAEA,YACE,WAAY,CACZ,UACF,CAEA,cACE,oBAAqB,CACrB,cAAe,CACf,iBACF,CAEA,gCACE,aACF,CAEA,yCACE,iBACF,CAEA,6EAEE,iBACF,CAEA,sCACE,kBACF,CAEA,4BACE,UACF,CAEA,6BACE,WACF,CAEA,qBACE,WAAY,CACZ,WAAY,CACZ,WAAY,CACZ,cAAe,CACf,sBAAwB,CACxB,kBACF,CAEA,8BACE,mBACF,CAGA,gCACE,2BACF,CAEA,yBACE,qBACE,8BACF,CAEA,uBAEE,YACF,CAEA,cACE,iBACF,CAEA,yEAEE,gBACF,CAEA,cACE,iBACF,CACF,CCtFA,MAME,iBACF,CACA,aAPE,WAAY,CACZ,YAAa,CACb,wBAA2B,CAC3B,iBAAkB,CAClB,YAWF,CARA,OAME,sBAAuB,CACvB,kBACF,CAEA,YACE,kCAA4B,CAA5B,0BACF,CAEA,uBACE,GACE,8BAAuB,CAAvB,sBACF,CACF,CAJA,eACE,GACE,8BAAuB,CAAvB,sBACF,CACF,CAEA,OACE,iBAAkB,CAClB,YAAa,CACb,SACF,CAEA,aACE,qBAAuB,CACvB,UAAY,CACZ,sCAA+B,CAA/B,8BACF,CAEA,4BACE,GACE,UACF,CACF,CAJA,oBACE,GACE,UACF,CACF","file":"main.c9112ef1.chunk.css","sourcesContent":["@import \"~react-image-gallery/styles/css/image-gallery.css\";\r\n@font-face {\r\n font-family: \"BRBA_B\";\r\n src: url(\"https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_seven@1.2/BRBA_B.woff\")\r\n format(\"woff\");\r\n font-weight: normal;\r\n font-style: normal;\r\n}\r\n\r\n@font-face {\r\n font-family: \"InfinitySans-RegularA1\";\r\n src: url(\"https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@2.1/InfinitySans-RegularA1.woff\")\r\n format(\"woff\");\r\n font-weight: normal;\r\n font-style: normal;\r\n}\r\n\r\n@font-face {\r\n font-family: \"GongGothicMedium\";\r\n src: url(\"https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-10@1.0/GongGothicMedium.woff\")\r\n format(\"woff\");\r\n font-weight: normal;\r\n font-style: normal;\r\n}\r\n\r\nbody {\r\n margin: 0;\r\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen\",\r\n \"Ubuntu\", \"Cantarell\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\",\r\n sans-serif;\r\n -webkit-font-smoothing: antialiased;\r\n -moz-osx-font-smoothing: grayscale;\r\n}\r\n\r\ncode {\r\n font-family: source-code-pro, Menlo, Monaco, Consolas, \"Courier New\",\r\n monospace;\r\n}\r\n\r\nbody {\r\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Helvetica, Arial,\r\n sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\r\n font-size: 14px;\r\n line-height: 1.5;\r\n color: #24292e;\r\n background-color: #fff;\r\n}\r\n\r\n.app {\r\n flex-direction: column;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n height: 100vh;\r\n}\r\n\r\ninput.error {\r\n border-color: red;\r\n}\r\n\r\n.input-feedback {\r\n color: red;\r\n height: 5px;\r\n margin-top: -12px;\r\n}\r\n\r\ntable {\r\n font-family: arial, sans-serif;\r\n border-collapse: collapse;\r\n width: 100%;\r\n}\r\n\r\ntd,\r\nth {\r\n border: 1px solid #dddddd;\r\n text-align: left;\r\n padding: 8px;\r\n}\r\n\r\ntr:nth-child(even) {\r\n background-color: #dddddd;\r\n}\r\n\r\nh1 {\r\n font-family: \"GongGothicMedium\";\r\n}\r\n\r\nh3 {\r\n font-family: \"InfinitySans-RegularA1\";\r\n}\r\n","@import \"~antd/dist/antd.css\";\r\n\r\n.menu {\r\n padding: 0 20px;\r\n border-bottom: solid 1px #e8e8e8;\r\n overflow: auto;\r\n box-shadow: 0 0 30px #f3f1f1;\r\n background-color: white;\r\n}\r\n\r\n.menu__logo {\r\n width: 150px;\r\n float: left;\r\n}\r\n\r\n.menu__logo a {\r\n display: inline-block;\r\n font-size: 20px;\r\n padding: 19px 20px;\r\n}\r\n\r\n.menu__container .ant-menu-item {\r\n padding: 0px 5px;\r\n}\r\n\r\n.menu__container .ant-menu-submenu-title {\r\n padding: 10px 20px;\r\n}\r\n\r\n.menu__container .ant-menu-item a,\r\n.menu__container .ant-menu-submenu-title a {\r\n padding: 10px 15px;\r\n}\r\n\r\n.menu__container .ant-menu-horizontal {\r\n border-bottom: none;\r\n}\r\n\r\n.menu__container .menu_left {\r\n float: left;\r\n}\r\n\r\n.menu__container .menu_rigth {\r\n float: right;\r\n}\r\n\r\n.menu__mobile-button {\r\n float: right;\r\n height: 32px;\r\n padding: 6px;\r\n margin-top: 8px;\r\n display: none !important; /* use of important to overwrite ant-btn */\r\n background: lightgray;\r\n}\r\n\r\n.menu_drawer .ant-drawer-body {\r\n padding: 0 !important;\r\n}\r\n\r\n/* align header of Drawer with header of page */\r\n.menu_drawer .ant-drawer-header {\r\n padding: 14px 24px !important;\r\n}\r\n\r\n@media (max-width: 767px) {\r\n .menu__mobile-button {\r\n display: inline-block !important;\r\n }\r\n\r\n .menu_left,\r\n .menu_rigth {\r\n display: none;\r\n }\r\n\r\n .menu__logo a {\r\n margin-left: -20px;\r\n }\r\n\r\n .menu__container .ant-menu-item,\r\n .menu__container .ant-menu-submenu-title {\r\n padding: 1px 20px;\r\n }\r\n\r\n .menu__logo a {\r\n padding: 10px 20px;\r\n }\r\n}\r\n","#test {\r\n width: 300px;\r\n height: 200px;\r\n border: 1px solid lightgray;\r\n border-radius: 1em;\r\n display: flex;\r\n position: relative;\r\n}\r\n#alert {\r\n width: 300px;\r\n height: 200px;\r\n border: 1px solid lightgray;\r\n border-radius: 1em;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n}\r\n\r\n#test:hover {\r\n animation: del 0.2s forwards;\r\n}\r\n\r\n@keyframes del {\r\n to {\r\n filter: brightness(50%);\r\n }\r\n}\r\n\r\n#alert {\r\n position: relative;\r\n bottom: 200px;\r\n opacity: 0;\r\n}\r\n\r\n#alert:hover {\r\n background-color: black;\r\n color: white;\r\n animation: fadeInUP 1s forwards;\r\n}\r\n\r\n@keyframes fadeInUP {\r\n to {\r\n opacity: 0.5;\r\n }\r\n}\r\n"]}
\ No newline at end of file
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
!function(e){function r(r){for(var n,f,i=r[0],l=r[1],a=r[2],c=0,s=[];c<i.length;c++)f=i[c],o[f]&&s.push(o[f][0]),o[f]=0;for(n in l)Object.prototype.hasOwnProperty.call(l,n)&&(e[n]=l[n]);for(p&&p(r);s.length;)s.shift()();return u.push.apply(u,a||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,i=1;i<t.length;i++){var l=t[i];0!==o[l]&&(n=!1)}n&&(u.splice(r--,1),e=f(f.s=t[0]))}return e}var n={},o={1:0},u=[];function f(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,f),t.l=!0,t.exports}f.m=e,f.c=n,f.d=function(e,r,t){f.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},f.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.t=function(e,r){if(1&r&&(e=f(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(f.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)f.d(t,n,function(r){return e[r]}.bind(null,n));return t},f.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(r,"a",r),r},f.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},f.p="/";var i=window.webpackJsonp=window.webpackJsonp||[],l=i.push.bind(i);i.push=r,i=i.slice();for(var a=0;a<i.length;a++)r(i[a]);var p=l;t()}([]);
//# sourceMappingURL=runtime~main.a8a9905a.js.map
\ No newline at end of file
{"version":3,"sources":["../webpack/bootstrap"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","1","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice"],"mappings":"aACA,SAAAA,EAAAC,GAQA,IAPA,IAMAC,EAAAC,EANAC,EAAAH,EAAA,GACAI,EAAAJ,EAAA,GACAK,EAAAL,EAAA,GAIAM,EAAA,EAAAC,EAAA,GACQD,EAAAH,EAAAK,OAAoBF,IAC5BJ,EAAAC,EAAAG,GACAG,EAAAP,IACAK,EAAAG,KAAAD,EAAAP,GAAA,IAEAO,EAAAP,GAAA,EAEA,IAAAD,KAAAG,EACAO,OAAAC,UAAAC,eAAAC,KAAAV,EAAAH,KACAc,EAAAd,GAAAG,EAAAH,IAKA,IAFAe,KAAAhB,GAEAO,EAAAC,QACAD,EAAAU,OAAAV,GAOA,OAHAW,EAAAR,KAAAS,MAAAD,EAAAb,GAAA,IAGAe,IAEA,SAAAA,IAEA,IADA,IAAAC,EACAf,EAAA,EAAiBA,EAAAY,EAAAV,OAA4BF,IAAA,CAG7C,IAFA,IAAAgB,EAAAJ,EAAAZ,GACAiB,GAAA,EACAC,EAAA,EAAkBA,EAAAF,EAAAd,OAA2BgB,IAAA,CAC7C,IAAAC,EAAAH,EAAAE,GACA,IAAAf,EAAAgB,KAAAF,GAAA,GAEAA,IACAL,EAAAQ,OAAApB,IAAA,GACAe,EAAAM,IAAAC,EAAAN,EAAA,KAGA,OAAAD,EAIA,IAAAQ,EAAA,GAKApB,EAAA,CACAqB,EAAA,GAGAZ,EAAA,GAGA,SAAAS,EAAA1B,GAGA,GAAA4B,EAAA5B,GACA,OAAA4B,EAAA5B,GAAA8B,QAGA,IAAAC,EAAAH,EAAA5B,GAAA,CACAK,EAAAL,EACAgC,GAAA,EACAF,QAAA,IAUA,OANAhB,EAAAd,GAAAa,KAAAkB,EAAAD,QAAAC,IAAAD,QAAAJ,GAGAK,EAAAC,GAAA,EAGAD,EAAAD,QAKAJ,EAAAO,EAAAnB,EAGAY,EAAAQ,EAAAN,EAGAF,EAAAS,EAAA,SAAAL,EAAAM,EAAAC,GACAX,EAAAY,EAAAR,EAAAM,IACA1B,OAAA6B,eAAAT,EAAAM,EAAA,CAA0CI,YAAA,EAAAC,IAAAJ,KAK1CX,EAAAgB,EAAA,SAAAZ,GACA,qBAAAa,eAAAC,aACAlC,OAAA6B,eAAAT,EAAAa,OAAAC,YAAA,CAAwDC,MAAA,WAExDnC,OAAA6B,eAAAT,EAAA,cAAiDe,OAAA,KAQjDnB,EAAAoB,EAAA,SAAAD,EAAAE,GAEA,GADA,EAAAA,IAAAF,EAAAnB,EAAAmB,IACA,EAAAE,EAAA,OAAAF,EACA,KAAAE,GAAA,kBAAAF,QAAAG,WAAA,OAAAH,EACA,IAAAI,EAAAvC,OAAAwC,OAAA,MAGA,GAFAxB,EAAAgB,EAAAO,GACAvC,OAAA6B,eAAAU,EAAA,WAAyCT,YAAA,EAAAK,UACzC,EAAAE,GAAA,iBAAAF,EAAA,QAAAM,KAAAN,EAAAnB,EAAAS,EAAAc,EAAAE,EAAA,SAAAA,GAAgH,OAAAN,EAAAM,IAAqBC,KAAA,KAAAD,IACrI,OAAAF,GAIAvB,EAAA2B,EAAA,SAAAtB,GACA,IAAAM,EAAAN,KAAAiB,WACA,WAA2B,OAAAjB,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAL,EAAAS,EAAAE,EAAA,IAAAA,GACAA,GAIAX,EAAAY,EAAA,SAAAgB,EAAAC,GAAsD,OAAA7C,OAAAC,UAAAC,eAAAC,KAAAyC,EAAAC,IAGtD7B,EAAA8B,EAAA,IAEA,IAAAC,EAAAC,OAAA,aAAAA,OAAA,iBACAC,EAAAF,EAAAhD,KAAA2C,KAAAK,GACAA,EAAAhD,KAAAX,EACA2D,IAAAG,QACA,QAAAvD,EAAA,EAAgBA,EAAAoD,EAAAlD,OAAuBF,IAAAP,EAAA2D,EAAApD,IACvC,IAAAU,EAAA4C,EAIAxC","file":"static/js/runtime~main.a8a9905a.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t1: 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// run deferred modules from other chunks\n \tcheckDeferredModules();\n"],"sourceRoot":""}
\ No newline at end of file
......@@ -5520,8 +5520,7 @@
"eventemitter3": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.0.tgz",
"integrity": "sha512-qerSRB0p+UDEssxTtm6EDKcE7W4OaoisfIMl4CngyEhjpYglocpNg6UEqCvemdGhosAsg4sO2dXJOdyBifPGCg==",
"dev": true
"integrity": "sha512-qerSRB0p+UDEssxTtm6EDKcE7W4OaoisfIMl4CngyEhjpYglocpNg6UEqCvemdGhosAsg4sO2dXJOdyBifPGCg=="
},
"eventlistener": {
"version": "0.0.1",
......@@ -14468,6 +14467,7 @@
"del": "^3.0.0",
"express": "^4.16.2",
"html-entities": "^1.2.0",
"http-proxy-middleware": "^0.19.1",
"import-local": "^2.0.0",
"internal-ip": "^4.2.0",
"ip": "^1.1.5",
......@@ -14546,6 +14546,27 @@
"resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.3.tgz",
"integrity": "sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w=="
},
"http-proxy": {
"version": "1.18.1",
"resolved": "https://registry.npmjs.org/http-proxy/-/http-proxy-1.18.1.tgz",
"integrity": "sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ==",
"requires": {
"eventemitter3": "^4.0.0",
"follow-redirects": "^1.0.0",
"requires-port": "^1.0.0"
}
},
"http-proxy-middleware": {
"version": "0.19.2",
"resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-0.19.2.tgz",
"integrity": "sha512-aYk1rTKqLTus23X3L96LGNCGNgWpG4cG0XoZIT1GUPhhulEHX/QalnO6Vbo+WmKWi4AL2IidjuC0wZtbpg0yhQ==",
"requires": {
"http-proxy": "^1.18.1",
"is-glob": "^4.0.0",
"lodash": "^4.17.11",
"micromatch": "^3.1.10"
}
},
"is-fullwidth-code-point": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz",
......
//SERVER ROUTES
export const USER_SERVER = '/api/users';
export const USER_SERVER = '3.209.242.35/api/users';
......
......@@ -3,17 +3,16 @@
"version": "1.0.0",
"description": "react boiler plate",
"main": "index.js",
"engine": {
"node": "10.16.0",
"npm": "6.9.0"
"engines": {
"node": "14.15.4",
"npm": "6.14.10"
},
"scripts": {
"start": "node server/index.js",
"backend": "nodemon server/index.js",
"frontend": "npm run front --prefix client",
"dev": "concurrently \"npm run backend\" \"npm run start --prefix client\""
"build" : "cd client && npm install && npm run build",
"heroku-postbuild": "npm run build"
},
"author": "John ahn",
"author": "mindyeoi",
"license": "ISC",
"dependencies": {
"async": "^3.1.0",
......
dev.js
\ No newline at end of file
module.exports = {
mongoURI: "mongodb+srv://mindyeoi:aaa111@boilerplate.djq4a.mongodb.net/myFirstDatabase?retryWrites=true&w=majority"
};
\ No newline at end of file
......@@ -27,26 +27,19 @@ app.use(cookieParser());
app.use('/api/users', require('./routes/users'));
app.use('/api/product', require('./routes/product'));
app.use('/uploads', express.static('uploads'));
const port = process.env.PORT || 5000
//use this to show the image you have in node js server to client (react js)
//https://stackoverflow.com/questions/48914987/send-image-path-from-node-js-express-server-to-react-client
app.use('/uploads', express.static('uploads'));
app.listen(port, () => {
console.log(`Server Running at ${port}`)
});
// Serve static assets if in production
if (process.env.NODE_ENV === "production") {
// Set static folder
app.use(express.static("client/build"));
app.use(express.static(path.join("client/build")));
// index.html for all page routes
app.get("*", (req, res) => {
res.sendFile(path.resolve(__dirname, "../client", "build", "index.html"));
app.get("*", (req, res) => {
res.sendFile(path.join(__dirname+ '/../client/build/index.html'));
});
}
const port = process.env.PORT || 5000
app.listen(port, () => {
console.log(`Server Running at ${port}`)
});
\ No newline at end of file
......