From 022386d30539ff8111ec40b3d15dcc760d3fd605 Mon Sep 17 00:00:00 2001 From: Al Luken Date: Thu, 28 Sep 2023 00:29:44 -0700 Subject: [PATCH] fix parent --- .gitignore | 13 ++++ README.md | 1 - {frontend/app => app}/api/auth/route.ts | 0 {frontend/app => app}/customChains.ts | 0 {frontend/app => app}/favicon.ico | Bin {frontend/app => app}/globals.css | 0 {frontend/app => app}/layout.jsx | 0 {frontend/app => app}/page.jsx | 0 {frontend/app => app}/page.module.css | 0 backend/.gitignore | 73 ------------------ backend/hardhat.config.js | 31 -------- backend/package.json | 18 ----- .../components => components}/Home.module.css | 0 {frontend/components => components}/index.jsx | 0 .../instructionsComponent.module.css | 0 .../navigation/footer/footer.module.css | 0 .../navigation/footer/index.jsx | 0 .../navigation/navbar/index.jsx | 0 .../navigation/navbar/navbar.module.css | 0 frontend/.gitignore | 73 ------------------ frontend/next-env.d.ts => next-env.d.ts | 0 frontend/next.config.js => next.config.js | 0 frontend/package.json => package.json | 0 frontend/pnpm-lock.yaml => pnpm-lock.yaml | 0 frontend/tsconfig.json => tsconfig.json | 0 25 files changed, 13 insertions(+), 196 deletions(-) create mode 100644 .gitignore delete mode 100644 README.md rename {frontend/app => app}/api/auth/route.ts (100%) rename {frontend/app => app}/customChains.ts (100%) rename {frontend/app => app}/favicon.ico (100%) rename {frontend/app => app}/globals.css (100%) rename {frontend/app => app}/layout.jsx (100%) rename {frontend/app => app}/page.jsx (100%) rename {frontend/app => app}/page.module.css (100%) delete mode 100644 backend/.gitignore delete mode 100644 backend/hardhat.config.js delete mode 100644 backend/package.json rename {frontend/components => components}/Home.module.css (100%) rename {frontend/components => components}/index.jsx (100%) rename {frontend/components => components}/instructionsComponent/instructionsComponent.module.css (100%) rename {frontend/components => components}/instructionsComponent/navigation/footer/footer.module.css (100%) rename {frontend/components => components}/instructionsComponent/navigation/footer/index.jsx (100%) rename {frontend/components => components}/instructionsComponent/navigation/navbar/index.jsx (100%) rename {frontend/components => components}/instructionsComponent/navigation/navbar/navbar.module.css (100%) delete mode 100644 frontend/.gitignore rename frontend/next-env.d.ts => next-env.d.ts (100%) rename frontend/next.config.js => next.config.js (100%) rename frontend/package.json => package.json (100%) rename frontend/pnpm-lock.yaml => pnpm-lock.yaml (100%) rename frontend/tsconfig.json => tsconfig.json (100%) diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..99afa88 --- /dev/null +++ b/.gitignore @@ -0,0 +1,13 @@ +# Next.js +/.next/ +/out/ + +# Node.js +/node_modules/ +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +# System files +.DS_Store +Thumbs.db diff --git a/README.md b/README.md deleted file mode 100644 index e799488..0000000 --- a/README.md +++ /dev/null @@ -1 +0,0 @@ -# usdc-token-gate-latest \ No newline at end of file diff --git a/frontend/app/api/auth/route.ts b/app/api/auth/route.ts similarity index 100% rename from frontend/app/api/auth/route.ts rename to app/api/auth/route.ts diff --git a/frontend/app/customChains.ts b/app/customChains.ts similarity index 100% rename from frontend/app/customChains.ts rename to app/customChains.ts diff --git a/frontend/app/favicon.ico b/app/favicon.ico similarity index 100% rename from frontend/app/favicon.ico rename to app/favicon.ico diff --git a/frontend/app/globals.css b/app/globals.css similarity index 100% rename from frontend/app/globals.css rename to app/globals.css diff --git a/frontend/app/layout.jsx b/app/layout.jsx similarity index 100% rename from frontend/app/layout.jsx rename to app/layout.jsx diff --git a/frontend/app/page.jsx b/app/page.jsx similarity index 100% rename from frontend/app/page.jsx rename to app/page.jsx diff --git a/frontend/app/page.module.css b/app/page.module.css similarity index 100% rename from frontend/app/page.module.css rename to app/page.module.css diff --git a/backend/.gitignore b/backend/.gitignore deleted file mode 100644 index 04ae617..0000000 --- a/backend/.gitignore +++ /dev/null @@ -1,73 +0,0 @@ -# Logs -logs -*.log -npm-debug.log* -yarn-debug.log* -yarn-error.log* -lerna-debug.log* - -# Diagnostic reports (https://nodejs.org/api/report.html) -report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json -.prettierignore -.prettierrc - -# Runtime data -pids -*.pid -*.seed -*.pid.lock - -# Directory for instrumented libs generated by jscoverage/JSCover -lib-cov - -# Compiled binary addons (https://nodejs.org/api/addons.html) -build/Release - -# Dependency directories -node_modules/ - - -# TypeScript v1 declaration files -typings/ - -# TypeScript cache -*.tsbuildinfo - -# Optional npm cache directory -.npm - -# Optional eslint cache -.eslintcache - -# Microbundle cache -.rpt2_cache/ -.rts2_cache_cjs/ -.rts2_cache_es/ -.rts2_cache_umd/ - -# Optional REPL history -.node_repl_history - -# Output of 'npm pack' -*.tgz - -# Yarn Integrity file -.yarn-integrity - -# dotenv environment variables file -.env -.env.test -.env.local - -# parcel-bundler cache (https://parceljs.org/) -.cache - -# Next.js build output -.next - - -# Lock files -package-lock.json -yarn.lock - -templates/evm/core/pages/api \ No newline at end of file diff --git a/backend/hardhat.config.js b/backend/hardhat.config.js deleted file mode 100644 index ba129c4..0000000 --- a/backend/hardhat.config.js +++ /dev/null @@ -1,31 +0,0 @@ -require('@nomicfoundation/hardhat-toolbox'); -require('dotenv').config() - -module.exports = { - solidity: { - version: "0.8.9", - settings: { - optimizer: { - enabled: true - } - } - }, - allowUnlimitedContractSize: true, - networks: { - hardhat: {}, - ETH_MAINNET: { - accounts: [`${process.env.PRIVATE_KEY}`], - url: `https://eth-mainnet.g.alchemy.com/v2/${process.env.ALCHEMY_API_KEY}` - }, - ETH_GOERLI: { - accounts: [`${process.env.PRIVATE_KEY}`], - url: `https://eth-goerli.g.alchemy.com/v2/${process.env.ALCHEMY_API_KEY}` - } - }, - etherscan: { - apiKey: `${process.env.ETHERSCAN_API_KEY}` - }, - paths: { - artifacts: '../fronted/artifacts' - } -} \ No newline at end of file diff --git a/backend/package.json b/backend/package.json deleted file mode 100644 index 0bf8f6f..0000000 --- a/backend/package.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "project1", - "version": "0.1.0", - "private": true, - "scripts": { - "build": "npx hardhat compile", - "deploy": "npx hardhat run ./scripts/deploy.js --network ETH_MAINNET", - "node": "npx hardhat node", - "deploy-local": "npx hardhat run ./scripts/deploy.js --network localhost" - }, - "dependencies": { - "dotenv": "^16.0.2" - }, - "devDependencies": { - "@nomicfoundation/hardhat-toolbox": "^1.0.2", - "hardhat": "^2.10.1" - } -} \ No newline at end of file diff --git a/frontend/components/Home.module.css b/components/Home.module.css similarity index 100% rename from frontend/components/Home.module.css rename to components/Home.module.css diff --git a/frontend/components/index.jsx b/components/index.jsx similarity index 100% rename from frontend/components/index.jsx rename to components/index.jsx diff --git a/frontend/components/instructionsComponent/instructionsComponent.module.css b/components/instructionsComponent/instructionsComponent.module.css similarity index 100% rename from frontend/components/instructionsComponent/instructionsComponent.module.css rename to components/instructionsComponent/instructionsComponent.module.css diff --git a/frontend/components/instructionsComponent/navigation/footer/footer.module.css b/components/instructionsComponent/navigation/footer/footer.module.css similarity index 100% rename from frontend/components/instructionsComponent/navigation/footer/footer.module.css rename to components/instructionsComponent/navigation/footer/footer.module.css diff --git a/frontend/components/instructionsComponent/navigation/footer/index.jsx b/components/instructionsComponent/navigation/footer/index.jsx similarity index 100% rename from frontend/components/instructionsComponent/navigation/footer/index.jsx rename to components/instructionsComponent/navigation/footer/index.jsx diff --git a/frontend/components/instructionsComponent/navigation/navbar/index.jsx b/components/instructionsComponent/navigation/navbar/index.jsx similarity index 100% rename from frontend/components/instructionsComponent/navigation/navbar/index.jsx rename to components/instructionsComponent/navigation/navbar/index.jsx diff --git a/frontend/components/instructionsComponent/navigation/navbar/navbar.module.css b/components/instructionsComponent/navigation/navbar/navbar.module.css similarity index 100% rename from frontend/components/instructionsComponent/navigation/navbar/navbar.module.css rename to components/instructionsComponent/navigation/navbar/navbar.module.css diff --git a/frontend/.gitignore b/frontend/.gitignore deleted file mode 100644 index 04ae617..0000000 --- a/frontend/.gitignore +++ /dev/null @@ -1,73 +0,0 @@ -# Logs -logs -*.log -npm-debug.log* -yarn-debug.log* -yarn-error.log* -lerna-debug.log* - -# Diagnostic reports (https://nodejs.org/api/report.html) -report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json -.prettierignore -.prettierrc - -# Runtime data -pids -*.pid -*.seed -*.pid.lock - -# Directory for instrumented libs generated by jscoverage/JSCover -lib-cov - -# Compiled binary addons (https://nodejs.org/api/addons.html) -build/Release - -# Dependency directories -node_modules/ - - -# TypeScript v1 declaration files -typings/ - -# TypeScript cache -*.tsbuildinfo - -# Optional npm cache directory -.npm - -# Optional eslint cache -.eslintcache - -# Microbundle cache -.rpt2_cache/ -.rts2_cache_cjs/ -.rts2_cache_es/ -.rts2_cache_umd/ - -# Optional REPL history -.node_repl_history - -# Output of 'npm pack' -*.tgz - -# Yarn Integrity file -.yarn-integrity - -# dotenv environment variables file -.env -.env.test -.env.local - -# parcel-bundler cache (https://parceljs.org/) -.cache - -# Next.js build output -.next - - -# Lock files -package-lock.json -yarn.lock - -templates/evm/core/pages/api \ No newline at end of file diff --git a/frontend/next-env.d.ts b/next-env.d.ts similarity index 100% rename from frontend/next-env.d.ts rename to next-env.d.ts diff --git a/frontend/next.config.js b/next.config.js similarity index 100% rename from frontend/next.config.js rename to next.config.js diff --git a/frontend/package.json b/package.json similarity index 100% rename from frontend/package.json rename to package.json diff --git a/frontend/pnpm-lock.yaml b/pnpm-lock.yaml similarity index 100% rename from frontend/pnpm-lock.yaml rename to pnpm-lock.yaml diff --git a/frontend/tsconfig.json b/tsconfig.json similarity index 100% rename from frontend/tsconfig.json rename to tsconfig.json