From fc4979e13f8c5df254c20e0977bd2fe0cbd2144e Mon Sep 17 00:00:00 2001 From: Benjamin Loh Date: Mon, 23 Oct 2023 14:14:05 +0800 Subject: [PATCH] shifted frontend directory in app shifted frontend directory in app --- .../safeshare-frontend}/.gitignore | 0 .../safeshare-frontend}/README.md | 0 .../safeshare-frontend}/package-lock.json | 29 ------------------ .../safeshare-frontend}/package.json | 1 - .../safeshare-frontend}/postcss.config.js | 0 .../safeshare-frontend}/public/favicon.ico | Bin .../safeshare-frontend}/public/index.html | 0 .../safeshare-frontend}/public/logo192.png | Bin .../safeshare-frontend}/public/logo512.png | Bin .../safeshare-frontend}/public/manifest.json | 0 .../safeshare-frontend}/public/robots.txt | 0 .../safeshare-frontend}/src/App.css | 0 .../safeshare-frontend}/src/App.js | 0 .../safeshare-frontend}/src/App.test.js | 0 .../safeshare-frontend}/src/index.css | 0 .../safeshare-frontend}/src/index.js | 6 ++-- .../safeshare-frontend}/src/logo.svg | 0 .../safeshare-frontend}/src/pages/home.js | 0 .../src/reportWebVitals.js | 0 .../safeshare-frontend}/src/setupTests.js | 0 .../safeshare-frontend}/tailwind.config.js | 0 21 files changed, 3 insertions(+), 33 deletions(-) rename {safeshare-frontend => safeshare/safeshare-frontend}/.gitignore (100%) rename {safeshare-frontend => safeshare/safeshare-frontend}/README.md (100%) rename {safeshare-frontend => safeshare/safeshare-frontend}/package-lock.json (99%) rename {safeshare-frontend => safeshare/safeshare-frontend}/package.json (97%) rename {safeshare-frontend => safeshare/safeshare-frontend}/postcss.config.js (100%) rename {safeshare-frontend => safeshare/safeshare-frontend}/public/favicon.ico (100%) rename {safeshare-frontend => safeshare/safeshare-frontend}/public/index.html (100%) rename {safeshare-frontend => safeshare/safeshare-frontend}/public/logo192.png (100%) rename {safeshare-frontend => safeshare/safeshare-frontend}/public/logo512.png (100%) rename {safeshare-frontend => safeshare/safeshare-frontend}/public/manifest.json (100%) rename {safeshare-frontend => safeshare/safeshare-frontend}/public/robots.txt (100%) rename {safeshare-frontend => safeshare/safeshare-frontend}/src/App.css (100%) rename {safeshare-frontend => safeshare/safeshare-frontend}/src/App.js (100%) rename {safeshare-frontend => safeshare/safeshare-frontend}/src/App.test.js (100%) rename {safeshare-frontend => safeshare/safeshare-frontend}/src/index.css (100%) rename {safeshare-frontend => safeshare/safeshare-frontend}/src/index.js (90%) rename {safeshare-frontend => safeshare/safeshare-frontend}/src/logo.svg (100%) rename {safeshare-frontend => safeshare/safeshare-frontend}/src/pages/home.js (100%) rename {safeshare-frontend => safeshare/safeshare-frontend}/src/reportWebVitals.js (100%) rename {safeshare-frontend => safeshare/safeshare-frontend}/src/setupTests.js (100%) rename {safeshare-frontend => safeshare/safeshare-frontend}/tailwind.config.js (100%) diff --git a/safeshare-frontend/.gitignore b/safeshare/safeshare-frontend/.gitignore similarity index 100% rename from safeshare-frontend/.gitignore rename to safeshare/safeshare-frontend/.gitignore diff --git a/safeshare-frontend/README.md b/safeshare/safeshare-frontend/README.md similarity index 100% rename from safeshare-frontend/README.md rename to safeshare/safeshare-frontend/README.md diff --git a/safeshare-frontend/package-lock.json b/safeshare/safeshare-frontend/package-lock.json similarity index 99% rename from safeshare-frontend/package-lock.json rename to safeshare/safeshare-frontend/package-lock.json index 9428f6e..842c2d1 100644 --- a/safeshare-frontend/package-lock.json +++ b/safeshare/safeshare-frontend/package-lock.json @@ -11,7 +11,6 @@ "@testing-library/jest-dom": "^5.17.0", "@testing-library/react": "^13.4.0", "@testing-library/user-event": "^13.5.0", - "axios": "^1.5.1", "react": "^18.2.0", "react-dom": "^18.2.0", "react-drag-drop-files": "^2.3.10", @@ -5337,29 +5336,6 @@ "node": ">=4" } }, - "node_modules/axios": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.5.1.tgz", - "integrity": "sha512-Q28iYCWzNHjAm+yEAot5QaAMxhMghWLFVf7rRdwhUI+c2jix2DUXjAHXVi+s1ibs3mjPO/cCgbA++3BjD0vP/A==", - "dependencies": { - "follow-redirects": "^1.15.0", - "form-data": "^4.0.0", - "proxy-from-env": "^1.1.0" - } - }, - "node_modules/axios/node_modules/form-data": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", - "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.8", - "mime-types": "^2.1.12" - }, - "engines": { - "node": ">= 6" - } - }, "node_modules/axobject-query": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-3.2.1.tgz", @@ -14532,11 +14508,6 @@ "node": ">= 0.10" } }, - "node_modules/proxy-from-env": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", - "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" - }, "node_modules/psl": { "version": "1.9.0", "resolved": "https://registry.npmjs.org/psl/-/psl-1.9.0.tgz", diff --git a/safeshare-frontend/package.json b/safeshare/safeshare-frontend/package.json similarity index 97% rename from safeshare-frontend/package.json rename to safeshare/safeshare-frontend/package.json index dc708cf..b4afa1b 100644 --- a/safeshare-frontend/package.json +++ b/safeshare/safeshare-frontend/package.json @@ -6,7 +6,6 @@ "@testing-library/jest-dom": "^5.17.0", "@testing-library/react": "^13.4.0", "@testing-library/user-event": "^13.5.0", - "axios": "^1.5.1", "react": "^18.2.0", "react-dom": "^18.2.0", "react-drag-drop-files": "^2.3.10", diff --git a/safeshare-frontend/postcss.config.js b/safeshare/safeshare-frontend/postcss.config.js similarity index 100% rename from safeshare-frontend/postcss.config.js rename to safeshare/safeshare-frontend/postcss.config.js diff --git a/safeshare-frontend/public/favicon.ico b/safeshare/safeshare-frontend/public/favicon.ico similarity index 100% rename from safeshare-frontend/public/favicon.ico rename to safeshare/safeshare-frontend/public/favicon.ico diff --git a/safeshare-frontend/public/index.html b/safeshare/safeshare-frontend/public/index.html similarity index 100% rename from safeshare-frontend/public/index.html rename to safeshare/safeshare-frontend/public/index.html diff --git a/safeshare-frontend/public/logo192.png b/safeshare/safeshare-frontend/public/logo192.png similarity index 100% rename from safeshare-frontend/public/logo192.png rename to safeshare/safeshare-frontend/public/logo192.png diff --git a/safeshare-frontend/public/logo512.png b/safeshare/safeshare-frontend/public/logo512.png similarity index 100% rename from safeshare-frontend/public/logo512.png rename to safeshare/safeshare-frontend/public/logo512.png diff --git a/safeshare-frontend/public/manifest.json b/safeshare/safeshare-frontend/public/manifest.json similarity index 100% rename from safeshare-frontend/public/manifest.json rename to safeshare/safeshare-frontend/public/manifest.json diff --git a/safeshare-frontend/public/robots.txt b/safeshare/safeshare-frontend/public/robots.txt similarity index 100% rename from safeshare-frontend/public/robots.txt rename to safeshare/safeshare-frontend/public/robots.txt diff --git a/safeshare-frontend/src/App.css b/safeshare/safeshare-frontend/src/App.css similarity index 100% rename from safeshare-frontend/src/App.css rename to safeshare/safeshare-frontend/src/App.css diff --git a/safeshare-frontend/src/App.js b/safeshare/safeshare-frontend/src/App.js similarity index 100% rename from safeshare-frontend/src/App.js rename to safeshare/safeshare-frontend/src/App.js diff --git a/safeshare-frontend/src/App.test.js b/safeshare/safeshare-frontend/src/App.test.js similarity index 100% rename from safeshare-frontend/src/App.test.js rename to safeshare/safeshare-frontend/src/App.test.js diff --git a/safeshare-frontend/src/index.css b/safeshare/safeshare-frontend/src/index.css similarity index 100% rename from safeshare-frontend/src/index.css rename to safeshare/safeshare-frontend/src/index.css diff --git a/safeshare-frontend/src/index.js b/safeshare/safeshare-frontend/src/index.js similarity index 90% rename from safeshare-frontend/src/index.js rename to safeshare/safeshare-frontend/src/index.js index f041a2d..62572ac 100644 --- a/safeshare-frontend/src/index.js +++ b/safeshare/safeshare-frontend/src/index.js @@ -8,9 +8,9 @@ import HomePage from "./pages/home"; const root = ReactDOM.createRoot(document.getElementById('root')); root.render( - // - // - // + // + // + // }/> diff --git a/safeshare-frontend/src/logo.svg b/safeshare/safeshare-frontend/src/logo.svg similarity index 100% rename from safeshare-frontend/src/logo.svg rename to safeshare/safeshare-frontend/src/logo.svg diff --git a/safeshare-frontend/src/pages/home.js b/safeshare/safeshare-frontend/src/pages/home.js similarity index 100% rename from safeshare-frontend/src/pages/home.js rename to safeshare/safeshare-frontend/src/pages/home.js diff --git a/safeshare-frontend/src/reportWebVitals.js b/safeshare/safeshare-frontend/src/reportWebVitals.js similarity index 100% rename from safeshare-frontend/src/reportWebVitals.js rename to safeshare/safeshare-frontend/src/reportWebVitals.js diff --git a/safeshare-frontend/src/setupTests.js b/safeshare/safeshare-frontend/src/setupTests.js similarity index 100% rename from safeshare-frontend/src/setupTests.js rename to safeshare/safeshare-frontend/src/setupTests.js diff --git a/safeshare-frontend/tailwind.config.js b/safeshare/safeshare-frontend/tailwind.config.js similarity index 100% rename from safeshare-frontend/tailwind.config.js rename to safeshare/safeshare-frontend/tailwind.config.js