diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml index 8b37210..baeb551 100644 --- a/.github/workflows/backend.yml +++ b/.github/workflows/backend.yml @@ -4,16 +4,16 @@ on: push: branches: [main, develop] paths: - - "website-monitoring-backend/**" + - "backend/**" - ".github/workflows/backend.yml" pull_request: branches: [main] paths: - - "website-monitoring-backend/**" + - "backend/**" defaults: run: - working-directory: website-monitoring-backend + working-directory: backend jobs: lint-test-build: @@ -31,7 +31,7 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: npm - cache-dependency-path: website-monitoring-backend/package-lock.json + cache-dependency-path: backend/package-lock.json - name: Install dependencies run: npm ci @@ -52,5 +52,5 @@ jobs: uses: actions/upload-artifact@v4 with: name: backend-coverage - path: website-monitoring-backend/coverage/ + path: backend/coverage/ retention-days: 7 diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index cc8c1b8..7e37583 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -15,17 +15,17 @@ jobs: - uses: actions/checkout@v4 - name: Build all services - run: docker compose -f website-monitoring-devops/docker-compose.yml build + run: docker compose -f devops/docker-compose.yml build - name: Start services run: | - docker compose -f website-monitoring-devops/docker-compose.yml up -d db backend + docker compose -f devops/docker-compose.yml up -d db backend sleep 15 - name: Verify backend health run: | - docker compose -f website-monitoring-devops/docker-compose.yml exec -T backend curl -f http://localhost:5000/health || exit 1 + docker compose -f devops/docker-compose.yml exec -T backend curl -f http://localhost:5000/health || exit 1 - name: Cleanup if: always() - run: docker compose -f website-monitoring-devops/docker-compose.yml down -v + run: docker compose -f devops/docker-compose.yml down -v diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml index 3e8f86a..8d3c8e0 100644 --- a/.github/workflows/frontend.yml +++ b/.github/workflows/frontend.yml @@ -4,16 +4,16 @@ on: push: branches: [main, develop] paths: - - "website-monitoring-frontend/**" + - "frontend/**" - ".github/workflows/frontend.yml" pull_request: branches: [main] paths: - - "website-monitoring-frontend/**" + - "frontend/**" defaults: run: - working-directory: website-monitoring-frontend + working-directory: frontend jobs: lint-test-build: @@ -31,7 +31,7 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: npm - cache-dependency-path: website-monitoring-frontend/package-lock.json + cache-dependency-path: frontend/package-lock.json - name: Install dependencies run: npm ci diff --git a/.husky/pre-commit b/.husky/pre-commit index 3c31ba8..ed03bf7 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,16 +1,16 @@ #!/bin/sh # Check if backend files changed -if git diff --cached --name-only | grep -q "^website-monitoring-backend/"; then +if git diff --cached --name-only | grep -q "^backend/"; then echo "🔍 Linting backend..." - cd website-monitoring-backend && npx eslint src/ || exit 1 + cd backend && npx eslint src/ || exit 1 cd .. fi # Check if frontend files changed -if git diff --cached --name-only | grep -q "^website-monitoring-frontend/"; then +if git diff --cached --name-only | grep -q "^frontend/"; then echo "🔍 Linting frontend..." - cd website-monitoring-frontend && npx next lint || exit 1 + cd frontend && npx next lint || exit 1 cd .. fi diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a0c8495..26080db 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -24,8 +24,8 @@ cd website-monitoring npm install # Install project dependencies -cd website-monitoring-backend && npm install && cd .. -cd website-monitoring-frontend && npm install && cd .. +cd backend && npm install && cd .. +cd frontend && npm install && cd .. # Start everything npm run dev @@ -71,8 +71,8 @@ npm run dev ## Testing -- **Backend**: Jest + Supertest — `cd website-monitoring-backend && npm test` -- **Frontend**: Jest + Testing Library — `cd website-monitoring-frontend && npm test` +- **Backend**: Jest + Supertest — `cd backend && npm test` +- **Frontend**: Jest + Testing Library — `cd frontend && npm test` - Aim for tests on all API endpoints and critical business logic - Use meaningful test names: `it("should return 400 when URL is missing")` diff --git a/README.md b/README.md index 75c0ffc..02f542f 100644 --- a/README.md +++ b/README.md @@ -77,14 +77,14 @@ cd website-monitoring npm install # Setup backend -cd website-monitoring-backend +cd backend cp .env.example .env npm install npm run build cd .. # Setup frontend -cd website-monitoring-frontend +cd frontend cp .env.example .env # Fill in your Supabase keys npm install cd .. @@ -109,7 +109,7 @@ npm run docker:up ``` website-monitoring/ -├── website-monitoring-backend/ # Express.js API + Lighthouse engine +├── backend/ # Express.js API + Lighthouse engine │ ├── src/ │ │ ├── index.ts # Server entry, health check, routing │ │ └── routes/ @@ -117,7 +117,7 @@ website-monitoring/ │ ├── Dockerfile │ └── package.json │ -├── website-monitoring-frontend/ # Next.js 15 dashboard +├── frontend/ # Next.js 15 dashboard │ ├── src/ │ │ ├── app/ # Pages & API routes (20+ endpoints) │ │ ├── components/ # React components (dashboard, UI, auth) @@ -126,7 +126,7 @@ website-monitoring/ │ ├── Dockerfile │ └── package.json │ -├── website-monitoring-devops/ # Infrastructure +├── devops/ # Infrastructure │ ├── docker-compose.yml # Full stack orchestration │ └── .devcontainer/ # VS Code Dev Container config │ diff --git a/website-monitoring-backend/.env.example b/backend/.env.example similarity index 100% rename from website-monitoring-backend/.env.example rename to backend/.env.example diff --git a/website-monitoring-backend/.gitignore b/backend/.gitignore similarity index 100% rename from website-monitoring-backend/.gitignore rename to backend/.gitignore diff --git a/website-monitoring-backend/.prettierrc b/backend/.prettierrc similarity index 100% rename from website-monitoring-backend/.prettierrc rename to backend/.prettierrc diff --git a/website-monitoring-backend/Dockerfile b/backend/Dockerfile similarity index 100% rename from website-monitoring-backend/Dockerfile rename to backend/Dockerfile diff --git a/website-monitoring-backend/README.md b/backend/README.md similarity index 100% rename from website-monitoring-backend/README.md rename to backend/README.md diff --git a/website-monitoring-backend/eslint.config.mjs b/backend/eslint.config.mjs similarity index 100% rename from website-monitoring-backend/eslint.config.mjs rename to backend/eslint.config.mjs diff --git a/website-monitoring-backend/jest.config.mjs b/backend/jest.config.mjs similarity index 100% rename from website-monitoring-backend/jest.config.mjs rename to backend/jest.config.mjs diff --git a/website-monitoring-backend/package-lock.json b/backend/package-lock.json similarity index 100% rename from website-monitoring-backend/package-lock.json rename to backend/package-lock.json diff --git a/website-monitoring-backend/package.json b/backend/package.json similarity index 100% rename from website-monitoring-backend/package.json rename to backend/package.json diff --git a/website-monitoring-backend/src/__tests__/api.test.ts b/backend/src/__tests__/api.test.ts similarity index 100% rename from website-monitoring-backend/src/__tests__/api.test.ts rename to backend/src/__tests__/api.test.ts diff --git a/website-monitoring-backend/src/__tests__/routes.test.ts b/backend/src/__tests__/routes.test.ts similarity index 100% rename from website-monitoring-backend/src/__tests__/routes.test.ts rename to backend/src/__tests__/routes.test.ts diff --git a/website-monitoring-backend/src/index.ts b/backend/src/index.ts similarity index 100% rename from website-monitoring-backend/src/index.ts rename to backend/src/index.ts diff --git a/website-monitoring-backend/src/routes/lighthouse.ts b/backend/src/routes/lighthouse.ts similarity index 100% rename from website-monitoring-backend/src/routes/lighthouse.ts rename to backend/src/routes/lighthouse.ts diff --git a/website-monitoring-backend/tsconfig.json b/backend/tsconfig.json similarity index 100% rename from website-monitoring-backend/tsconfig.json rename to backend/tsconfig.json diff --git a/dev-setup.sh b/dev-setup.sh index 46d90de..88e4a66 100755 --- a/dev-setup.sh +++ b/dev-setup.sh @@ -21,7 +21,7 @@ echo " ✅ Node $(node --version), Docker, Supabase CLI found" # 2. Start Supabase (if not already running) echo "" echo -e "${YELLOW}[2/6] Starting local Supabase...${NC}" -cd website-monitoring-frontend +cd frontend if supabase status 2>&1 | grep -q "API URL"; then echo " ✅ Supabase already running" else @@ -50,32 +50,32 @@ SUPABASE_SERVICE_ROLE_KEY=${SERVICE_KEY} LIGHTHOUSE_SERVICE_URL=http://localhost:5000 CRON_SECRET=local-dev-secret EOF -echo " ✅ Created website-monitoring-frontend/.env.local" +echo " ✅ Created frontend/.env.local" cd .. # 4. Create backend .env echo "" echo -e "${YELLOW}[4/6] Configuring backend environment...${NC}" -cat > website-monitoring-backend/.env << EOF +cat > backend/.env << EOF PORT=5000 CORS_ORIGIN=http://localhost:3000 NODE_ENV=development EOF -echo " ✅ Created website-monitoring-backend/.env" +echo " ✅ Created backend/.env" # 5. Install dependencies echo "" echo -e "${YELLOW}[5/6] Installing dependencies...${NC}" npm install --silent 2>/dev/null -cd website-monitoring-backend && npm install --silent 2>/dev/null && cd .. -cd website-monitoring-frontend && npm install --silent 2>/dev/null && cd .. +cd backend && npm install --silent 2>/dev/null && cd .. +cd frontend && npm install --silent 2>/dev/null && cd .. echo " ✅ Dependencies installed" # 6. Run database migrations echo "" echo -e "${YELLOW}[6/6] Applying database migrations...${NC}" -cd website-monitoring-frontend -supabase db reset --no-seed 2>/dev/null || echo " ⚠️ Migrations may need manual review (run: cd website-monitoring-frontend && supabase db reset)" +cd frontend +supabase db reset --no-seed 2>/dev/null || echo " ⚠️ Migrations may need manual review (run: cd frontend && supabase db reset)" cd .. echo "" @@ -92,7 +92,7 @@ echo -e "${YELLOW}📋 Quick commands:${NC}" echo " npm test — run all tests" echo " npm run build — build everything" echo " npm run lint — lint everything" -echo " supabase stop — stop local DB (in website-monitoring-frontend/)" +echo " supabase stop — stop local DB (in frontend/)" echo "" echo -e "${YELLOW}🔑 Test cron endpoints locally:${NC}" echo " curl -H 'Authorization: Bearer local-dev-secret' http://localhost:3000/api/cron/uptime" diff --git a/website-monitoring-devops/.devcontainer/devcontainer.json b/devops/.devcontainer/devcontainer.json similarity index 100% rename from website-monitoring-devops/.devcontainer/devcontainer.json rename to devops/.devcontainer/devcontainer.json diff --git a/website-monitoring-devops/.devcontainer/setup-repos.sh b/devops/.devcontainer/setup-repos.sh similarity index 100% rename from website-monitoring-devops/.devcontainer/setup-repos.sh rename to devops/.devcontainer/setup-repos.sh diff --git a/website-monitoring-devops/docker-compose.yml b/devops/docker-compose.yml similarity index 94% rename from website-monitoring-devops/docker-compose.yml rename to devops/docker-compose.yml index bf145a2..a379ba7 100644 --- a/website-monitoring-devops/docker-compose.yml +++ b/devops/docker-compose.yml @@ -18,7 +18,7 @@ services: backend: build: - context: ../website-monitoring-backend + context: ../backend dockerfile: Dockerfile restart: unless-stopped ports: @@ -41,7 +41,7 @@ services: frontend: build: - context: ../website-monitoring-frontend + context: ../frontend dockerfile: Dockerfile restart: unless-stopped ports: diff --git a/website-monitoring-frontend/.cursor/mcp.json b/frontend/.cursor/mcp.json similarity index 100% rename from website-monitoring-frontend/.cursor/mcp.json rename to frontend/.cursor/mcp.json diff --git a/website-monitoring-frontend/.cursor/rules/cursor_rules.mdc b/frontend/.cursor/rules/cursor_rules.mdc similarity index 100% rename from website-monitoring-frontend/.cursor/rules/cursor_rules.mdc rename to frontend/.cursor/rules/cursor_rules.mdc diff --git a/website-monitoring-frontend/.cursor/rules/self_improve.mdc b/frontend/.cursor/rules/self_improve.mdc similarity index 100% rename from website-monitoring-frontend/.cursor/rules/self_improve.mdc rename to frontend/.cursor/rules/self_improve.mdc diff --git a/website-monitoring-frontend/.cursor/rules/taskmaster/dev_workflow.mdc b/frontend/.cursor/rules/taskmaster/dev_workflow.mdc similarity index 100% rename from website-monitoring-frontend/.cursor/rules/taskmaster/dev_workflow.mdc rename to frontend/.cursor/rules/taskmaster/dev_workflow.mdc diff --git a/website-monitoring-frontend/.cursor/rules/taskmaster/taskmaster.mdc b/frontend/.cursor/rules/taskmaster/taskmaster.mdc similarity index 100% rename from website-monitoring-frontend/.cursor/rules/taskmaster/taskmaster.mdc rename to frontend/.cursor/rules/taskmaster/taskmaster.mdc diff --git a/website-monitoring-frontend/.dockerignore b/frontend/.dockerignore similarity index 100% rename from website-monitoring-frontend/.dockerignore rename to frontend/.dockerignore diff --git a/website-monitoring-frontend/.eslintrc.json b/frontend/.eslintrc.json similarity index 100% rename from website-monitoring-frontend/.eslintrc.json rename to frontend/.eslintrc.json diff --git a/website-monitoring-frontend/.github/workflows/cron-scan.yml b/frontend/.github/workflows/cron-scan.yml similarity index 100% rename from website-monitoring-frontend/.github/workflows/cron-scan.yml rename to frontend/.github/workflows/cron-scan.yml diff --git a/website-monitoring-frontend/.gitignore b/frontend/.gitignore similarity index 100% rename from website-monitoring-frontend/.gitignore rename to frontend/.gitignore diff --git a/website-monitoring-frontend/.taskmaster/config.json b/frontend/.taskmaster/config.json similarity index 100% rename from website-monitoring-frontend/.taskmaster/config.json rename to frontend/.taskmaster/config.json diff --git a/website-monitoring-frontend/.taskmaster/docs/prd.txt b/frontend/.taskmaster/docs/prd.txt similarity index 100% rename from website-monitoring-frontend/.taskmaster/docs/prd.txt rename to frontend/.taskmaster/docs/prd.txt diff --git a/website-monitoring-frontend/.taskmaster/reports/task-complexity-report.json b/frontend/.taskmaster/reports/task-complexity-report.json similarity index 100% rename from website-monitoring-frontend/.taskmaster/reports/task-complexity-report.json rename to frontend/.taskmaster/reports/task-complexity-report.json diff --git a/website-monitoring-frontend/.taskmaster/state.json b/frontend/.taskmaster/state.json similarity index 100% rename from website-monitoring-frontend/.taskmaster/state.json rename to frontend/.taskmaster/state.json diff --git a/website-monitoring-frontend/.taskmaster/tasks/tasks.json b/frontend/.taskmaster/tasks/tasks.json similarity index 100% rename from website-monitoring-frontend/.taskmaster/tasks/tasks.json rename to frontend/.taskmaster/tasks/tasks.json diff --git a/website-monitoring-frontend/.taskmaster/templates/example_prd.txt b/frontend/.taskmaster/templates/example_prd.txt similarity index 100% rename from website-monitoring-frontend/.taskmaster/templates/example_prd.txt rename to frontend/.taskmaster/templates/example_prd.txt diff --git a/website-monitoring-frontend/CLAUDE.md b/frontend/CLAUDE.md similarity index 100% rename from website-monitoring-frontend/CLAUDE.md rename to frontend/CLAUDE.md diff --git a/website-monitoring-frontend/Dockerfile b/frontend/Dockerfile similarity index 100% rename from website-monitoring-frontend/Dockerfile rename to frontend/Dockerfile diff --git a/website-monitoring-frontend/README.md b/frontend/README.md similarity index 95% rename from website-monitoring-frontend/README.md rename to frontend/README.md index bea3c3c..b215560 100644 --- a/website-monitoring-frontend/README.md +++ b/frontend/README.md @@ -25,7 +25,7 @@ This project is a modern website monitoring platform built with Next.js (App Rou ### 1. Install Dependencies ```bash -cd website-monitoring-frontend +cd frontend npm install ``` @@ -47,6 +47,6 @@ This will: In a separate terminal: ```bash -cd website-monitoring-frontend +cd frontend npm run dev ``` diff --git a/website-monitoring-frontend/components.json b/frontend/components.json similarity index 100% rename from website-monitoring-frontend/components.json rename to frontend/components.json diff --git a/website-monitoring-frontend/crawl-progress-migration.sql b/frontend/crawl-progress-migration.sql similarity index 100% rename from website-monitoring-frontend/crawl-progress-migration.sql rename to frontend/crawl-progress-migration.sql diff --git a/website-monitoring-frontend/database-fixes.sql b/frontend/database-fixes.sql similarity index 100% rename from website-monitoring-frontend/database-fixes.sql rename to frontend/database-fixes.sql diff --git a/website-monitoring-frontend/database-schema.sql b/frontend/database-schema.sql similarity index 100% rename from website-monitoring-frontend/database-schema.sql rename to frontend/database-schema.sql diff --git a/website-monitoring-frontend/databaseStructure.txt b/frontend/databaseStructure.txt similarity index 100% rename from website-monitoring-frontend/databaseStructure.txt rename to frontend/databaseStructure.txt diff --git a/website-monitoring-frontend/deploy-schema.js b/frontend/deploy-schema.js similarity index 100% rename from website-monitoring-frontend/deploy-schema.js rename to frontend/deploy-schema.js diff --git a/website-monitoring-frontend/devenv.lock b/frontend/devenv.lock similarity index 100% rename from website-monitoring-frontend/devenv.lock rename to frontend/devenv.lock diff --git a/website-monitoring-frontend/devenv.nix b/frontend/devenv.nix similarity index 100% rename from website-monitoring-frontend/devenv.nix rename to frontend/devenv.nix diff --git a/website-monitoring-frontend/devenv.yaml b/frontend/devenv.yaml similarity index 100% rename from website-monitoring-frontend/devenv.yaml rename to frontend/devenv.yaml diff --git a/website-monitoring-frontend/docker-compose.yml b/frontend/docker-compose.yml similarity index 100% rename from website-monitoring-frontend/docker-compose.yml rename to frontend/docker-compose.yml diff --git a/website-monitoring-frontend/docs/automatic-scanning-system.md b/frontend/docs/automatic-scanning-system.md similarity index 100% rename from website-monitoring-frontend/docs/automatic-scanning-system.md rename to frontend/docs/automatic-scanning-system.md diff --git a/website-monitoring-frontend/docs/cron-setup-guide.md b/frontend/docs/cron-setup-guide.md similarity index 100% rename from website-monitoring-frontend/docs/cron-setup-guide.md rename to frontend/docs/cron-setup-guide.md diff --git a/website-monitoring-frontend/eslint.config.mjs b/frontend/eslint.config.mjs similarity index 100% rename from website-monitoring-frontend/eslint.config.mjs rename to frontend/eslint.config.mjs diff --git a/website-monitoring-frontend/jest.config.ts b/frontend/jest.config.ts similarity index 100% rename from website-monitoring-frontend/jest.config.ts rename to frontend/jest.config.ts diff --git a/website-monitoring-frontend/jest.setup.ts b/frontend/jest.setup.ts similarity index 100% rename from website-monitoring-frontend/jest.setup.ts rename to frontend/jest.setup.ts diff --git a/website-monitoring-frontend/next.config.ts b/frontend/next.config.ts similarity index 100% rename from website-monitoring-frontend/next.config.ts rename to frontend/next.config.ts diff --git a/website-monitoring-frontend/package-lock.json b/frontend/package-lock.json similarity index 100% rename from website-monitoring-frontend/package-lock.json rename to frontend/package-lock.json diff --git a/website-monitoring-frontend/package.json b/frontend/package.json similarity index 100% rename from website-monitoring-frontend/package.json rename to frontend/package.json diff --git a/website-monitoring-frontend/pnpm-lock.yaml b/frontend/pnpm-lock.yaml similarity index 100% rename from website-monitoring-frontend/pnpm-lock.yaml rename to frontend/pnpm-lock.yaml diff --git a/website-monitoring-frontend/postcss.config.mjs b/frontend/postcss.config.mjs similarity index 100% rename from website-monitoring-frontend/postcss.config.mjs rename to frontend/postcss.config.mjs diff --git a/website-monitoring-frontend/public/file.svg b/frontend/public/file.svg similarity index 100% rename from website-monitoring-frontend/public/file.svg rename to frontend/public/file.svg diff --git a/website-monitoring-frontend/public/globe.svg b/frontend/public/globe.svg similarity index 100% rename from website-monitoring-frontend/public/globe.svg rename to frontend/public/globe.svg diff --git a/website-monitoring-frontend/public/images/wavy_lines.svg b/frontend/public/images/wavy_lines.svg similarity index 100% rename from website-monitoring-frontend/public/images/wavy_lines.svg rename to frontend/public/images/wavy_lines.svg diff --git a/website-monitoring-frontend/public/next.svg b/frontend/public/next.svg similarity index 100% rename from website-monitoring-frontend/public/next.svg rename to frontend/public/next.svg diff --git a/website-monitoring-frontend/public/vercel.svg b/frontend/public/vercel.svg similarity index 100% rename from website-monitoring-frontend/public/vercel.svg rename to frontend/public/vercel.svg diff --git a/website-monitoring-frontend/public/window.svg b/frontend/public/window.svg similarity index 100% rename from website-monitoring-frontend/public/window.svg rename to frontend/public/window.svg diff --git a/website-monitoring-frontend/scanner-worker/Dockerfile b/frontend/scanner-worker/Dockerfile similarity index 100% rename from website-monitoring-frontend/scanner-worker/Dockerfile rename to frontend/scanner-worker/Dockerfile diff --git a/website-monitoring-frontend/scanner-worker/express-worker.ts b/frontend/scanner-worker/express-worker.ts similarity index 100% rename from website-monitoring-frontend/scanner-worker/express-worker.ts rename to frontend/scanner-worker/express-worker.ts diff --git a/website-monitoring-frontend/scanner-worker/package-lock.json b/frontend/scanner-worker/package-lock.json similarity index 100% rename from website-monitoring-frontend/scanner-worker/package-lock.json rename to frontend/scanner-worker/package-lock.json diff --git a/website-monitoring-frontend/scanner-worker/package.json b/frontend/scanner-worker/package.json similarity index 100% rename from website-monitoring-frontend/scanner-worker/package.json rename to frontend/scanner-worker/package.json diff --git a/website-monitoring-frontend/scanner-worker/scan-worker.ts b/frontend/scanner-worker/scan-worker.ts similarity index 100% rename from website-monitoring-frontend/scanner-worker/scan-worker.ts rename to frontend/scanner-worker/scan-worker.ts diff --git a/website-monitoring-frontend/scanner-worker/tsconfig.json b/frontend/scanner-worker/tsconfig.json similarity index 100% rename from website-monitoring-frontend/scanner-worker/tsconfig.json rename to frontend/scanner-worker/tsconfig.json diff --git a/website-monitoring-frontend/scripts/setup-cron.sh b/frontend/scripts/setup-cron.sh similarity index 100% rename from website-monitoring-frontend/scripts/setup-cron.sh rename to frontend/scripts/setup-cron.sh diff --git a/website-monitoring-frontend/scripts/setup-database.sh b/frontend/scripts/setup-database.sh similarity index 100% rename from website-monitoring-frontend/scripts/setup-database.sh rename to frontend/scripts/setup-database.sh diff --git a/website-monitoring-frontend/setup-database.sql b/frontend/setup-database.sql similarity index 100% rename from website-monitoring-frontend/setup-database.sql rename to frontend/setup-database.sql diff --git a/website-monitoring-frontend/src/app/api/admin/organizations/route.ts b/frontend/src/app/api/admin/organizations/route.ts similarity index 100% rename from website-monitoring-frontend/src/app/api/admin/organizations/route.ts rename to frontend/src/app/api/admin/organizations/route.ts diff --git a/website-monitoring-frontend/src/app/api/admin/stats/route.ts b/frontend/src/app/api/admin/stats/route.ts similarity index 100% rename from website-monitoring-frontend/src/app/api/admin/stats/route.ts rename to frontend/src/app/api/admin/stats/route.ts diff --git a/website-monitoring-frontend/src/app/api/admin/users/route.ts b/frontend/src/app/api/admin/users/route.ts similarity index 100% rename from website-monitoring-frontend/src/app/api/admin/users/route.ts rename to frontend/src/app/api/admin/users/route.ts diff --git a/website-monitoring-frontend/src/app/api/analyze/route.ts b/frontend/src/app/api/analyze/route.ts similarity index 100% rename from website-monitoring-frontend/src/app/api/analyze/route.ts rename to frontend/src/app/api/analyze/route.ts diff --git a/website-monitoring-frontend/src/app/api/billing/usage/route.ts b/frontend/src/app/api/billing/usage/route.ts similarity index 100% rename from website-monitoring-frontend/src/app/api/billing/usage/route.ts rename to frontend/src/app/api/billing/usage/route.ts diff --git a/website-monitoring-frontend/src/app/api/competitor-analysis/route.ts b/frontend/src/app/api/competitor-analysis/route.ts similarity index 100% rename from website-monitoring-frontend/src/app/api/competitor-analysis/route.ts rename to frontend/src/app/api/competitor-analysis/route.ts diff --git a/website-monitoring-frontend/src/app/api/crawl/results/route.ts b/frontend/src/app/api/crawl/results/route.ts similarity index 100% rename from website-monitoring-frontend/src/app/api/crawl/results/route.ts rename to frontend/src/app/api/crawl/results/route.ts diff --git a/website-monitoring-frontend/src/app/api/crawl/route.ts b/frontend/src/app/api/crawl/route.ts similarity index 100% rename from website-monitoring-frontend/src/app/api/crawl/route.ts rename to frontend/src/app/api/crawl/route.ts diff --git a/website-monitoring-frontend/src/app/api/crawl/status/[id]/route.ts b/frontend/src/app/api/crawl/status/[id]/route.ts similarity index 100% rename from website-monitoring-frontend/src/app/api/crawl/status/[id]/route.ts rename to frontend/src/app/api/crawl/status/[id]/route.ts diff --git a/website-monitoring-frontend/src/app/api/cron/scan/route.ts b/frontend/src/app/api/cron/scan/route.ts similarity index 100% rename from website-monitoring-frontend/src/app/api/cron/scan/route.ts rename to frontend/src/app/api/cron/scan/route.ts diff --git a/website-monitoring-frontend/src/app/api/cron/uptime/route.ts b/frontend/src/app/api/cron/uptime/route.ts similarity index 100% rename from website-monitoring-frontend/src/app/api/cron/uptime/route.ts rename to frontend/src/app/api/cron/uptime/route.ts diff --git a/website-monitoring-frontend/src/app/api/debug/crawl-queue/[websiteId]/route.ts b/frontend/src/app/api/debug/crawl-queue/[websiteId]/route.ts similarity index 100% rename from website-monitoring-frontend/src/app/api/debug/crawl-queue/[websiteId]/route.ts rename to frontend/src/app/api/debug/crawl-queue/[websiteId]/route.ts diff --git a/website-monitoring-frontend/src/app/api/debug/crawl-status/[websiteId]/route.ts b/frontend/src/app/api/debug/crawl-status/[websiteId]/route.ts similarity index 100% rename from website-monitoring-frontend/src/app/api/debug/crawl-status/[websiteId]/route.ts rename to frontend/src/app/api/debug/crawl-status/[websiteId]/route.ts diff --git a/website-monitoring-frontend/src/app/api/email-exists/route.ts b/frontend/src/app/api/email-exists/route.ts similarity index 100% rename from website-monitoring-frontend/src/app/api/email-exists/route.ts rename to frontend/src/app/api/email-exists/route.ts diff --git a/website-monitoring-frontend/src/app/api/monitor/start/route.ts b/frontend/src/app/api/monitor/start/route.ts similarity index 100% rename from website-monitoring-frontend/src/app/api/monitor/start/route.ts rename to frontend/src/app/api/monitor/start/route.ts diff --git a/website-monitoring-frontend/src/app/api/notifications/process/route.ts b/frontend/src/app/api/notifications/process/route.ts similarity index 100% rename from website-monitoring-frontend/src/app/api/notifications/process/route.ts rename to frontend/src/app/api/notifications/process/route.ts diff --git a/website-monitoring-frontend/src/app/api/organization/members/route.ts b/frontend/src/app/api/organization/members/route.ts similarity index 100% rename from website-monitoring-frontend/src/app/api/organization/members/route.ts rename to frontend/src/app/api/organization/members/route.ts diff --git a/website-monitoring-frontend/src/app/api/organization/route.ts b/frontend/src/app/api/organization/route.ts similarity index 100% rename from website-monitoring-frontend/src/app/api/organization/route.ts rename to frontend/src/app/api/organization/route.ts diff --git a/website-monitoring-frontend/src/app/api/test-lighthouse/route.ts b/frontend/src/app/api/test-lighthouse/route.ts similarity index 100% rename from website-monitoring-frontend/src/app/api/test-lighthouse/route.ts rename to frontend/src/app/api/test-lighthouse/route.ts diff --git a/website-monitoring-frontend/src/app/api/test-supabase/route.ts b/frontend/src/app/api/test-supabase/route.ts similarity index 100% rename from website-monitoring-frontend/src/app/api/test-supabase/route.ts rename to frontend/src/app/api/test-supabase/route.ts diff --git a/website-monitoring-frontend/src/app/api/test/route.ts b/frontend/src/app/api/test/route.ts similarity index 100% rename from website-monitoring-frontend/src/app/api/test/route.ts rename to frontend/src/app/api/test/route.ts diff --git a/website-monitoring-frontend/src/app/api/validate-website/route.ts b/frontend/src/app/api/validate-website/route.ts similarity index 100% rename from website-monitoring-frontend/src/app/api/validate-website/route.ts rename to frontend/src/app/api/validate-website/route.ts diff --git a/website-monitoring-frontend/src/app/api/webhooks/website-change/route.ts b/frontend/src/app/api/webhooks/website-change/route.ts similarity index 100% rename from website-monitoring-frontend/src/app/api/webhooks/website-change/route.ts rename to frontend/src/app/api/webhooks/website-change/route.ts diff --git a/website-monitoring-frontend/src/app/api/websites/[id]/settings/route.ts b/frontend/src/app/api/websites/[id]/settings/route.ts similarity index 100% rename from website-monitoring-frontend/src/app/api/websites/[id]/settings/route.ts rename to frontend/src/app/api/websites/[id]/settings/route.ts diff --git a/website-monitoring-frontend/src/app/api/websites/bulk/route.ts b/frontend/src/app/api/websites/bulk/route.ts similarity index 100% rename from website-monitoring-frontend/src/app/api/websites/bulk/route.ts rename to frontend/src/app/api/websites/bulk/route.ts diff --git a/website-monitoring-frontend/src/app/api/websites/route.ts b/frontend/src/app/api/websites/route.ts similarity index 100% rename from website-monitoring-frontend/src/app/api/websites/route.ts rename to frontend/src/app/api/websites/route.ts diff --git a/website-monitoring-frontend/src/app/auth/callback/page.tsx b/frontend/src/app/auth/callback/page.tsx similarity index 100% rename from website-monitoring-frontend/src/app/auth/callback/page.tsx rename to frontend/src/app/auth/callback/page.tsx diff --git a/website-monitoring-frontend/src/app/auth/fix-account/page.tsx b/frontend/src/app/auth/fix-account/page.tsx similarity index 100% rename from website-monitoring-frontend/src/app/auth/fix-account/page.tsx rename to frontend/src/app/auth/fix-account/page.tsx diff --git a/website-monitoring-frontend/src/app/auth/page.tsx b/frontend/src/app/auth/page.tsx similarity index 100% rename from website-monitoring-frontend/src/app/auth/page.tsx rename to frontend/src/app/auth/page.tsx diff --git a/website-monitoring-frontend/src/app/auth/reset-password/page.tsx b/frontend/src/app/auth/reset-password/page.tsx similarity index 100% rename from website-monitoring-frontend/src/app/auth/reset-password/page.tsx rename to frontend/src/app/auth/reset-password/page.tsx diff --git a/website-monitoring-frontend/src/app/dashboard/admin/page.tsx b/frontend/src/app/dashboard/admin/page.tsx similarity index 100% rename from website-monitoring-frontend/src/app/dashboard/admin/page.tsx rename to frontend/src/app/dashboard/admin/page.tsx diff --git a/website-monitoring-frontend/src/app/dashboard/alerts/page.tsx b/frontend/src/app/dashboard/alerts/page.tsx similarity index 100% rename from website-monitoring-frontend/src/app/dashboard/alerts/page.tsx rename to frontend/src/app/dashboard/alerts/page.tsx diff --git a/website-monitoring-frontend/src/app/dashboard/diagnostics/page.tsx b/frontend/src/app/dashboard/diagnostics/page.tsx similarity index 100% rename from website-monitoring-frontend/src/app/dashboard/diagnostics/page.tsx rename to frontend/src/app/dashboard/diagnostics/page.tsx diff --git a/website-monitoring-frontend/src/app/dashboard/error.tsx b/frontend/src/app/dashboard/error.tsx similarity index 100% rename from website-monitoring-frontend/src/app/dashboard/error.tsx rename to frontend/src/app/dashboard/error.tsx diff --git a/website-monitoring-frontend/src/app/dashboard/loading.tsx b/frontend/src/app/dashboard/loading.tsx similarity index 100% rename from website-monitoring-frontend/src/app/dashboard/loading.tsx rename to frontend/src/app/dashboard/loading.tsx diff --git a/website-monitoring-frontend/src/app/dashboard/monitoring/page.tsx b/frontend/src/app/dashboard/monitoring/page.tsx similarity index 100% rename from website-monitoring-frontend/src/app/dashboard/monitoring/page.tsx rename to frontend/src/app/dashboard/monitoring/page.tsx diff --git a/website-monitoring-frontend/src/app/dashboard/organizations/[id]/settings/page.tsx b/frontend/src/app/dashboard/organizations/[id]/settings/page.tsx similarity index 100% rename from website-monitoring-frontend/src/app/dashboard/organizations/[id]/settings/page.tsx rename to frontend/src/app/dashboard/organizations/[id]/settings/page.tsx diff --git a/website-monitoring-frontend/src/app/dashboard/organizations/new/page.tsx b/frontend/src/app/dashboard/organizations/new/page.tsx similarity index 100% rename from website-monitoring-frontend/src/app/dashboard/organizations/new/page.tsx rename to frontend/src/app/dashboard/organizations/new/page.tsx diff --git a/website-monitoring-frontend/src/app/dashboard/organizations/page.tsx b/frontend/src/app/dashboard/organizations/page.tsx similarity index 100% rename from website-monitoring-frontend/src/app/dashboard/organizations/page.tsx rename to frontend/src/app/dashboard/organizations/page.tsx diff --git a/website-monitoring-frontend/src/app/dashboard/page.tsx b/frontend/src/app/dashboard/page.tsx similarity index 100% rename from website-monitoring-frontend/src/app/dashboard/page.tsx rename to frontend/src/app/dashboard/page.tsx diff --git a/website-monitoring-frontend/src/app/dashboard/performance/page.tsx b/frontend/src/app/dashboard/performance/page.tsx similarity index 100% rename from website-monitoring-frontend/src/app/dashboard/performance/page.tsx rename to frontend/src/app/dashboard/performance/page.tsx diff --git a/website-monitoring-frontend/src/app/dashboard/seo/page.tsx b/frontend/src/app/dashboard/seo/page.tsx similarity index 100% rename from website-monitoring-frontend/src/app/dashboard/seo/page.tsx rename to frontend/src/app/dashboard/seo/page.tsx diff --git a/website-monitoring-frontend/src/app/dashboard/settings/page.tsx b/frontend/src/app/dashboard/settings/page.tsx similarity index 100% rename from website-monitoring-frontend/src/app/dashboard/settings/page.tsx rename to frontend/src/app/dashboard/settings/page.tsx diff --git a/website-monitoring-frontend/src/app/dashboard/team/page.tsx b/frontend/src/app/dashboard/team/page.tsx similarity index 100% rename from website-monitoring-frontend/src/app/dashboard/team/page.tsx rename to frontend/src/app/dashboard/team/page.tsx diff --git a/website-monitoring-frontend/src/app/dashboard/websites/[id]/page.tsx b/frontend/src/app/dashboard/websites/[id]/page.tsx similarity index 100% rename from website-monitoring-frontend/src/app/dashboard/websites/[id]/page.tsx rename to frontend/src/app/dashboard/websites/[id]/page.tsx diff --git a/website-monitoring-frontend/src/app/dashboard/websites/[id]/settings/page.tsx b/frontend/src/app/dashboard/websites/[id]/settings/page.tsx similarity index 100% rename from website-monitoring-frontend/src/app/dashboard/websites/[id]/settings/page.tsx rename to frontend/src/app/dashboard/websites/[id]/settings/page.tsx diff --git a/website-monitoring-frontend/src/app/dashboard/websites/new/page.tsx b/frontend/src/app/dashboard/websites/new/page.tsx similarity index 100% rename from website-monitoring-frontend/src/app/dashboard/websites/new/page.tsx rename to frontend/src/app/dashboard/websites/new/page.tsx diff --git a/website-monitoring-frontend/src/app/dashboard/websites/page.tsx b/frontend/src/app/dashboard/websites/page.tsx similarity index 100% rename from website-monitoring-frontend/src/app/dashboard/websites/page.tsx rename to frontend/src/app/dashboard/websites/page.tsx diff --git a/website-monitoring-frontend/src/app/globals.css b/frontend/src/app/globals.css similarity index 100% rename from website-monitoring-frontend/src/app/globals.css rename to frontend/src/app/globals.css diff --git a/website-monitoring-frontend/src/app/layout.tsx b/frontend/src/app/layout.tsx similarity index 100% rename from website-monitoring-frontend/src/app/layout.tsx rename to frontend/src/app/layout.tsx diff --git a/website-monitoring-frontend/src/app/page.tsx b/frontend/src/app/page.tsx similarity index 100% rename from website-monitoring-frontend/src/app/page.tsx rename to frontend/src/app/page.tsx diff --git a/website-monitoring-frontend/src/app/providers.tsx b/frontend/src/app/providers.tsx similarity index 100% rename from website-monitoring-frontend/src/app/providers.tsx rename to frontend/src/app/providers.tsx diff --git a/website-monitoring-frontend/src/components/CrawlerResultsSelector.tsx b/frontend/src/components/CrawlerResultsSelector.tsx similarity index 100% rename from website-monitoring-frontend/src/components/CrawlerResultsSelector.tsx rename to frontend/src/components/CrawlerResultsSelector.tsx diff --git a/website-monitoring-frontend/src/components/WebsiteMonitoring.ts.backup b/frontend/src/components/WebsiteMonitoring.ts.backup similarity index 100% rename from website-monitoring-frontend/src/components/WebsiteMonitoring.ts.backup rename to frontend/src/components/WebsiteMonitoring.ts.backup diff --git a/website-monitoring-frontend/src/components/WebsiteMonitoring.tsx b/frontend/src/components/WebsiteMonitoring.tsx similarity index 100% rename from website-monitoring-frontend/src/components/WebsiteMonitoring.tsx rename to frontend/src/components/WebsiteMonitoring.tsx diff --git a/website-monitoring-frontend/src/components/auth/AuthForm.tsx b/frontend/src/components/auth/AuthForm.tsx similarity index 100% rename from website-monitoring-frontend/src/components/auth/AuthForm.tsx rename to frontend/src/components/auth/AuthForm.tsx diff --git a/website-monitoring-frontend/src/components/auth/FixAccount.tsx b/frontend/src/components/auth/FixAccount.tsx similarity index 100% rename from website-monitoring-frontend/src/components/auth/FixAccount.tsx rename to frontend/src/components/auth/FixAccount.tsx diff --git a/website-monitoring-frontend/src/components/common/DashboardLayout.tsx b/frontend/src/components/common/DashboardLayout.tsx similarity index 100% rename from website-monitoring-frontend/src/components/common/DashboardLayout.tsx rename to frontend/src/components/common/DashboardLayout.tsx diff --git a/website-monitoring-frontend/src/components/core/competitorDashboard/CompetitorDashboardBase.tsx b/frontend/src/components/core/competitorDashboard/CompetitorDashboardBase.tsx similarity index 100% rename from website-monitoring-frontend/src/components/core/competitorDashboard/CompetitorDashboardBase.tsx rename to frontend/src/components/core/competitorDashboard/CompetitorDashboardBase.tsx diff --git a/website-monitoring-frontend/src/components/core/competitorDashboard/DetailedMetrics.tsx b/frontend/src/components/core/competitorDashboard/DetailedMetrics.tsx similarity index 100% rename from website-monitoring-frontend/src/components/core/competitorDashboard/DetailedMetrics.tsx rename to frontend/src/components/core/competitorDashboard/DetailedMetrics.tsx diff --git a/website-monitoring-frontend/src/components/core/competitorDashboard/MetricsOverview.tsx b/frontend/src/components/core/competitorDashboard/MetricsOverview.tsx similarity index 100% rename from website-monitoring-frontend/src/components/core/competitorDashboard/MetricsOverview.tsx rename to frontend/src/components/core/competitorDashboard/MetricsOverview.tsx diff --git a/website-monitoring-frontend/src/components/core/dashboard/DashboardBase.tsx b/frontend/src/components/core/dashboard/DashboardBase.tsx similarity index 100% rename from website-monitoring-frontend/src/components/core/dashboard/DashboardBase.tsx rename to frontend/src/components/core/dashboard/DashboardBase.tsx diff --git a/website-monitoring-frontend/src/components/core/dashboard/MetricsGrid.tsx b/frontend/src/components/core/dashboard/MetricsGrid.tsx similarity index 100% rename from website-monitoring-frontend/src/components/core/dashboard/MetricsGrid.tsx rename to frontend/src/components/core/dashboard/MetricsGrid.tsx diff --git a/website-monitoring-frontend/src/components/core/dashboard/PerformanceSection.tsx b/frontend/src/components/core/dashboard/PerformanceSection.tsx similarity index 100% rename from website-monitoring-frontend/src/components/core/dashboard/PerformanceSection.tsx rename to frontend/src/components/core/dashboard/PerformanceSection.tsx diff --git a/website-monitoring-frontend/src/components/core/dashboard/ResourceSection.tsx b/frontend/src/components/core/dashboard/ResourceSection.tsx similarity index 100% rename from website-monitoring-frontend/src/components/core/dashboard/ResourceSection.tsx rename to frontend/src/components/core/dashboard/ResourceSection.tsx diff --git a/website-monitoring-frontend/src/components/core/dashboard/StatusSection.tsx b/frontend/src/components/core/dashboard/StatusSection.tsx similarity index 100% rename from website-monitoring-frontend/src/components/core/dashboard/StatusSection.tsx rename to frontend/src/components/core/dashboard/StatusSection.tsx diff --git a/website-monitoring-frontend/src/components/dashboard/AddWebsiteForm.tsx b/frontend/src/components/dashboard/AddWebsiteForm.tsx similarity index 100% rename from website-monitoring-frontend/src/components/dashboard/AddWebsiteForm.tsx rename to frontend/src/components/dashboard/AddWebsiteForm.tsx diff --git a/website-monitoring-frontend/src/components/dashboard/CrawlerControl.tsx b/frontend/src/components/dashboard/CrawlerControl.tsx similarity index 100% rename from website-monitoring-frontend/src/components/dashboard/CrawlerControl.tsx rename to frontend/src/components/dashboard/CrawlerControl.tsx diff --git a/website-monitoring-frontend/src/components/dashboard/CriticalIssuesList.tsx b/frontend/src/components/dashboard/CriticalIssuesList.tsx similarity index 100% rename from website-monitoring-frontend/src/components/dashboard/CriticalIssuesList.tsx rename to frontend/src/components/dashboard/CriticalIssuesList.tsx diff --git a/website-monitoring-frontend/src/components/dashboard/DeviceComparison.tsx b/frontend/src/components/dashboard/DeviceComparison.tsx similarity index 100% rename from website-monitoring-frontend/src/components/dashboard/DeviceComparison.tsx rename to frontend/src/components/dashboard/DeviceComparison.tsx diff --git a/website-monitoring-frontend/src/components/dashboard/EnhancedWebsiteList.tsx b/frontend/src/components/dashboard/EnhancedWebsiteList.tsx similarity index 100% rename from website-monitoring-frontend/src/components/dashboard/EnhancedWebsiteList.tsx rename to frontend/src/components/dashboard/EnhancedWebsiteList.tsx diff --git a/website-monitoring-frontend/src/components/dashboard/IssueSeverityTooltip.tsx b/frontend/src/components/dashboard/IssueSeverityTooltip.tsx similarity index 100% rename from website-monitoring-frontend/src/components/dashboard/IssueSeverityTooltip.tsx rename to frontend/src/components/dashboard/IssueSeverityTooltip.tsx diff --git a/website-monitoring-frontend/src/components/dashboard/MetricsCard.tsx b/frontend/src/components/dashboard/MetricsCard.tsx similarity index 100% rename from website-monitoring-frontend/src/components/dashboard/MetricsCard.tsx rename to frontend/src/components/dashboard/MetricsCard.tsx diff --git a/website-monitoring-frontend/src/components/dashboard/PerformanceChart.tsx b/frontend/src/components/dashboard/PerformanceChart.tsx similarity index 100% rename from website-monitoring-frontend/src/components/dashboard/PerformanceChart.tsx rename to frontend/src/components/dashboard/PerformanceChart.tsx diff --git a/website-monitoring-frontend/src/components/dashboard/ScanScheduleManager.tsx b/frontend/src/components/dashboard/ScanScheduleManager.tsx similarity index 100% rename from website-monitoring-frontend/src/components/dashboard/ScanScheduleManager.tsx rename to frontend/src/components/dashboard/ScanScheduleManager.tsx diff --git a/website-monitoring-frontend/src/components/dashboard/TeamManagement.tsx b/frontend/src/components/dashboard/TeamManagement.tsx similarity index 100% rename from website-monitoring-frontend/src/components/dashboard/TeamManagement.tsx rename to frontend/src/components/dashboard/TeamManagement.tsx diff --git a/website-monitoring-frontend/src/components/dashboard/TimelineView.tsx b/frontend/src/components/dashboard/TimelineView.tsx similarity index 100% rename from website-monitoring-frontend/src/components/dashboard/TimelineView.tsx rename to frontend/src/components/dashboard/TimelineView.tsx diff --git a/website-monitoring-frontend/src/components/dashboard/WebsiteList.tsx b/frontend/src/components/dashboard/WebsiteList.tsx similarity index 100% rename from website-monitoring-frontend/src/components/dashboard/WebsiteList.tsx rename to frontend/src/components/dashboard/WebsiteList.tsx diff --git a/website-monitoring-frontend/src/components/dashboard/WebsiteScanButton.tsx b/frontend/src/components/dashboard/WebsiteScanButton.tsx similarity index 100% rename from website-monitoring-frontend/src/components/dashboard/WebsiteScanButton.tsx rename to frontend/src/components/dashboard/WebsiteScanButton.tsx diff --git a/website-monitoring-frontend/src/components/dashboard/WebsiteSettings.tsx b/frontend/src/components/dashboard/WebsiteSettings.tsx similarity index 100% rename from website-monitoring-frontend/src/components/dashboard/WebsiteSettings.tsx rename to frontend/src/components/dashboard/WebsiteSettings.tsx diff --git a/website-monitoring-frontend/src/components/debug/CrawlDebugger.tsx b/frontend/src/components/debug/CrawlDebugger.tsx similarity index 100% rename from website-monitoring-frontend/src/components/debug/CrawlDebugger.tsx rename to frontend/src/components/debug/CrawlDebugger.tsx diff --git a/website-monitoring-frontend/src/components/demo/FakeCompetitorDashboard.tsx b/frontend/src/components/demo/FakeCompetitorDashboard.tsx similarity index 100% rename from website-monitoring-frontend/src/components/demo/FakeCompetitorDashboard.tsx rename to frontend/src/components/demo/FakeCompetitorDashboard.tsx diff --git a/website-monitoring-frontend/src/components/demo/FakeDashboard.tsx b/frontend/src/components/demo/FakeDashboard.tsx similarity index 100% rename from website-monitoring-frontend/src/components/demo/FakeDashboard.tsx rename to frontend/src/components/demo/FakeDashboard.tsx diff --git a/website-monitoring-frontend/src/components/demo/HeroPage.tsx b/frontend/src/components/demo/HeroPage.tsx similarity index 100% rename from website-monitoring-frontend/src/components/demo/HeroPage.tsx rename to frontend/src/components/demo/HeroPage.tsx diff --git a/website-monitoring-frontend/src/components/layouts/DashboardLayout.tsx b/frontend/src/components/layouts/DashboardLayout.tsx similarity index 100% rename from website-monitoring-frontend/src/components/layouts/DashboardLayout.tsx rename to frontend/src/components/layouts/DashboardLayout.tsx diff --git a/website-monitoring-frontend/src/components/monitoring/AlertsList.tsx b/frontend/src/components/monitoring/AlertsList.tsx similarity index 100% rename from website-monitoring-frontend/src/components/monitoring/AlertsList.tsx rename to frontend/src/components/monitoring/AlertsList.tsx diff --git a/website-monitoring-frontend/src/components/monitoring/MetricsDisplay.tsx b/frontend/src/components/monitoring/MetricsDisplay.tsx similarity index 100% rename from website-monitoring-frontend/src/components/monitoring/MetricsDisplay.tsx rename to frontend/src/components/monitoring/MetricsDisplay.tsx diff --git a/website-monitoring-frontend/src/components/monitoring/MonitoringDashboard.tsx b/frontend/src/components/monitoring/MonitoringDashboard.tsx similarity index 100% rename from website-monitoring-frontend/src/components/monitoring/MonitoringDashboard.tsx rename to frontend/src/components/monitoring/MonitoringDashboard.tsx diff --git a/website-monitoring-frontend/src/components/monitoring/PerformanceGraph.tsx b/frontend/src/components/monitoring/PerformanceGraph.tsx similarity index 100% rename from website-monitoring-frontend/src/components/monitoring/PerformanceGraph.tsx rename to frontend/src/components/monitoring/PerformanceGraph.tsx diff --git a/website-monitoring-frontend/src/components/monitoring/ResourceUsage.tsx b/frontend/src/components/monitoring/ResourceUsage.tsx similarity index 100% rename from website-monitoring-frontend/src/components/monitoring/ResourceUsage.tsx rename to frontend/src/components/monitoring/ResourceUsage.tsx diff --git a/website-monitoring-frontend/src/components/shared/Header.tsx b/frontend/src/components/shared/Header.tsx similarity index 100% rename from website-monitoring-frontend/src/components/shared/Header.tsx rename to frontend/src/components/shared/Header.tsx diff --git a/website-monitoring-frontend/src/components/shared/Sidebar.tsx b/frontend/src/components/shared/Sidebar.tsx similarity index 100% rename from website-monitoring-frontend/src/components/shared/Sidebar.tsx rename to frontend/src/components/shared/Sidebar.tsx diff --git a/website-monitoring-frontend/src/components/ui/DatabaseSetupHelper.tsx b/frontend/src/components/ui/DatabaseSetupHelper.tsx similarity index 100% rename from website-monitoring-frontend/src/components/ui/DatabaseSetupHelper.tsx rename to frontend/src/components/ui/DatabaseSetupHelper.tsx diff --git a/website-monitoring-frontend/src/components/ui/ErrorBoundary.tsx b/frontend/src/components/ui/ErrorBoundary.tsx similarity index 100% rename from website-monitoring-frontend/src/components/ui/ErrorBoundary.tsx rename to frontend/src/components/ui/ErrorBoundary.tsx diff --git a/website-monitoring-frontend/src/components/ui/ErrorFeedback.tsx b/frontend/src/components/ui/ErrorFeedback.tsx similarity index 100% rename from website-monitoring-frontend/src/components/ui/ErrorFeedback.tsx rename to frontend/src/components/ui/ErrorFeedback.tsx diff --git a/website-monitoring-frontend/src/components/ui/SupabaseDiagnostic.tsx b/frontend/src/components/ui/SupabaseDiagnostic.tsx similarity index 100% rename from website-monitoring-frontend/src/components/ui/SupabaseDiagnostic.tsx rename to frontend/src/components/ui/SupabaseDiagnostic.tsx diff --git a/website-monitoring-frontend/src/components/ui/data-display/EnhancedChart.tsx b/frontend/src/components/ui/data-display/EnhancedChart.tsx similarity index 100% rename from website-monitoring-frontend/src/components/ui/data-display/EnhancedChart.tsx rename to frontend/src/components/ui/data-display/EnhancedChart.tsx diff --git a/website-monitoring-frontend/src/components/ui/data-display/Gauge.tsx b/frontend/src/components/ui/data-display/Gauge.tsx similarity index 100% rename from website-monitoring-frontend/src/components/ui/data-display/Gauge.tsx rename to frontend/src/components/ui/data-display/Gauge.tsx diff --git a/website-monitoring-frontend/src/components/ui/data-display/PingDisplay.tsx b/frontend/src/components/ui/data-display/PingDisplay.tsx similarity index 100% rename from website-monitoring-frontend/src/components/ui/data-display/PingDisplay.tsx rename to frontend/src/components/ui/data-display/PingDisplay.tsx diff --git a/website-monitoring-frontend/src/components/ui/data-display/SafeLineChart.tsx b/frontend/src/components/ui/data-display/SafeLineChart.tsx similarity index 100% rename from website-monitoring-frontend/src/components/ui/data-display/SafeLineChart.tsx rename to frontend/src/components/ui/data-display/SafeLineChart.tsx diff --git a/website-monitoring-frontend/src/components/ui/data-display/UptimeHeatmap.tsx b/frontend/src/components/ui/data-display/UptimeHeatmap.tsx similarity index 100% rename from website-monitoring-frontend/src/components/ui/data-display/UptimeHeatmap.tsx rename to frontend/src/components/ui/data-display/UptimeHeatmap.tsx diff --git a/website-monitoring-frontend/src/components/ui/data-display/__tests__/SafeLineChart.test.tsx b/frontend/src/components/ui/data-display/__tests__/SafeLineChart.test.tsx similarity index 100% rename from website-monitoring-frontend/src/components/ui/data-display/__tests__/SafeLineChart.test.tsx rename to frontend/src/components/ui/data-display/__tests__/SafeLineChart.test.tsx diff --git a/website-monitoring-frontend/src/components/ui/feedback/Alert.tsx b/frontend/src/components/ui/feedback/Alert.tsx similarity index 100% rename from website-monitoring-frontend/src/components/ui/feedback/Alert.tsx rename to frontend/src/components/ui/feedback/Alert.tsx diff --git a/website-monitoring-frontend/src/components/ui/feedback/ErrorBoundary.tsx b/frontend/src/components/ui/feedback/ErrorBoundary.tsx similarity index 100% rename from website-monitoring-frontend/src/components/ui/feedback/ErrorBoundary.tsx rename to frontend/src/components/ui/feedback/ErrorBoundary.tsx diff --git a/website-monitoring-frontend/src/components/ui/feedback/LoadingSpinner.tsx b/frontend/src/components/ui/feedback/LoadingSpinner.tsx similarity index 100% rename from website-monitoring-frontend/src/components/ui/feedback/LoadingSpinner.tsx rename to frontend/src/components/ui/feedback/LoadingSpinner.tsx diff --git a/website-monitoring-frontend/src/components/ui/feedback/Progress.tsx b/frontend/src/components/ui/feedback/Progress.tsx similarity index 100% rename from website-monitoring-frontend/src/components/ui/feedback/Progress.tsx rename to frontend/src/components/ui/feedback/Progress.tsx diff --git a/website-monitoring-frontend/src/components/ui/forms/Button.tsx b/frontend/src/components/ui/forms/Button.tsx similarity index 100% rename from website-monitoring-frontend/src/components/ui/forms/Button.tsx rename to frontend/src/components/ui/forms/Button.tsx diff --git a/website-monitoring-frontend/src/components/ui/forms/Checkbox.tsx b/frontend/src/components/ui/forms/Checkbox.tsx similarity index 100% rename from website-monitoring-frontend/src/components/ui/forms/Checkbox.tsx rename to frontend/src/components/ui/forms/Checkbox.tsx diff --git a/website-monitoring-frontend/src/components/ui/forms/Form.tsx b/frontend/src/components/ui/forms/Form.tsx similarity index 100% rename from website-monitoring-frontend/src/components/ui/forms/Form.tsx rename to frontend/src/components/ui/forms/Form.tsx diff --git a/website-monitoring-frontend/src/components/ui/forms/Input.tsx b/frontend/src/components/ui/forms/Input.tsx similarity index 100% rename from website-monitoring-frontend/src/components/ui/forms/Input.tsx rename to frontend/src/components/ui/forms/Input.tsx diff --git a/website-monitoring-frontend/src/components/ui/forms/Label.tsx b/frontend/src/components/ui/forms/Label.tsx similarity index 100% rename from website-monitoring-frontend/src/components/ui/forms/Label.tsx rename to frontend/src/components/ui/forms/Label.tsx diff --git a/website-monitoring-frontend/src/components/ui/forms/Progress.tsx b/frontend/src/components/ui/forms/Progress.tsx similarity index 100% rename from website-monitoring-frontend/src/components/ui/forms/Progress.tsx rename to frontend/src/components/ui/forms/Progress.tsx diff --git a/website-monitoring-frontend/src/components/ui/layout/Badge.tsx b/frontend/src/components/ui/layout/Badge.tsx similarity index 100% rename from website-monitoring-frontend/src/components/ui/layout/Badge.tsx rename to frontend/src/components/ui/layout/Badge.tsx diff --git a/website-monitoring-frontend/src/components/ui/layout/Card.tsx b/frontend/src/components/ui/layout/Card.tsx similarity index 100% rename from website-monitoring-frontend/src/components/ui/layout/Card.tsx rename to frontend/src/components/ui/layout/Card.tsx diff --git a/website-monitoring-frontend/src/components/ui/layout/Tabs.tsx b/frontend/src/components/ui/layout/Tabs.tsx similarity index 100% rename from website-monitoring-frontend/src/components/ui/layout/Tabs.tsx rename to frontend/src/components/ui/layout/Tabs.tsx diff --git a/website-monitoring-frontend/src/constants/colors.ts b/frontend/src/constants/colors.ts similarity index 100% rename from website-monitoring-frontend/src/constants/colors.ts rename to frontend/src/constants/colors.ts diff --git a/website-monitoring-frontend/src/contexts/AuthContext.tsx b/frontend/src/contexts/AuthContext.tsx similarity index 100% rename from website-monitoring-frontend/src/contexts/AuthContext.tsx rename to frontend/src/contexts/AuthContext.tsx diff --git a/website-monitoring-frontend/src/contexts/MonitoringContext.tsx b/frontend/src/contexts/MonitoringContext.tsx similarity index 100% rename from website-monitoring-frontend/src/contexts/MonitoringContext.tsx rename to frontend/src/contexts/MonitoringContext.tsx diff --git a/website-monitoring-frontend/src/hooks/useDashboardData.ts b/frontend/src/hooks/useDashboardData.ts similarity index 100% rename from website-monitoring-frontend/src/hooks/useDashboardData.ts rename to frontend/src/hooks/useDashboardData.ts diff --git a/website-monitoring-frontend/src/hooks/useProtectedRoute.ts b/frontend/src/hooks/useProtectedRoute.ts similarity index 100% rename from website-monitoring-frontend/src/hooks/useProtectedRoute.ts rename to frontend/src/hooks/useProtectedRoute.ts diff --git a/website-monitoring-frontend/src/hooks/useRealtimeMonitoring.ts b/frontend/src/hooks/useRealtimeMonitoring.ts similarity index 100% rename from website-monitoring-frontend/src/hooks/useRealtimeMonitoring.ts rename to frontend/src/hooks/useRealtimeMonitoring.ts diff --git a/website-monitoring-frontend/src/hooks/useSupabaseAuth.ts b/frontend/src/hooks/useSupabaseAuth.ts similarity index 100% rename from website-monitoring-frontend/src/hooks/useSupabaseAuth.ts rename to frontend/src/hooks/useSupabaseAuth.ts diff --git a/website-monitoring-frontend/src/instrumentation.ts b/frontend/src/instrumentation.ts similarity index 100% rename from website-monitoring-frontend/src/instrumentation.ts rename to frontend/src/instrumentation.ts diff --git a/website-monitoring-frontend/src/lib/admin.ts b/frontend/src/lib/admin.ts similarity index 100% rename from website-monitoring-frontend/src/lib/admin.ts rename to frontend/src/lib/admin.ts diff --git a/website-monitoring-frontend/src/lib/apiAuth.ts b/frontend/src/lib/apiAuth.ts similarity index 100% rename from website-monitoring-frontend/src/lib/apiAuth.ts rename to frontend/src/lib/apiAuth.ts diff --git a/website-monitoring-frontend/src/lib/chart.ts b/frontend/src/lib/chart.ts similarity index 100% rename from website-monitoring-frontend/src/lib/chart.ts rename to frontend/src/lib/chart.ts diff --git a/website-monitoring-frontend/src/lib/supabase.ts b/frontend/src/lib/supabase.ts similarity index 100% rename from website-monitoring-frontend/src/lib/supabase.ts rename to frontend/src/lib/supabase.ts diff --git a/website-monitoring-frontend/src/lib/utils.ts b/frontend/src/lib/utils.ts similarity index 100% rename from website-monitoring-frontend/src/lib/utils.ts rename to frontend/src/lib/utils.ts diff --git a/website-monitoring-frontend/src/lib/validateEnv.ts b/frontend/src/lib/validateEnv.ts similarity index 100% rename from website-monitoring-frontend/src/lib/validateEnv.ts rename to frontend/src/lib/validateEnv.ts diff --git a/website-monitoring-frontend/src/middleware.ts b/frontend/src/middleware.ts similarity index 100% rename from website-monitoring-frontend/src/middleware.ts rename to frontend/src/middleware.ts diff --git a/website-monitoring-frontend/src/services/__tests__/tierLimits.test.ts b/frontend/src/services/__tests__/tierLimits.test.ts similarity index 100% rename from website-monitoring-frontend/src/services/__tests__/tierLimits.test.ts rename to frontend/src/services/__tests__/tierLimits.test.ts diff --git a/website-monitoring-frontend/src/services/alertEngine.ts b/frontend/src/services/alertEngine.ts similarity index 100% rename from website-monitoring-frontend/src/services/alertEngine.ts rename to frontend/src/services/alertEngine.ts diff --git a/website-monitoring-frontend/src/services/crawlManager.ts b/frontend/src/services/crawlManager.ts similarity index 100% rename from website-monitoring-frontend/src/services/crawlManager.ts rename to frontend/src/services/crawlManager.ts diff --git a/website-monitoring-frontend/src/services/crawlerService.ts b/frontend/src/services/crawlerService.ts similarity index 100% rename from website-monitoring-frontend/src/services/crawlerService.ts rename to frontend/src/services/crawlerService.ts diff --git a/website-monitoring-frontend/src/services/lighthouseScanner.ts b/frontend/src/services/lighthouseScanner.ts similarity index 100% rename from website-monitoring-frontend/src/services/lighthouseScanner.ts rename to frontend/src/services/lighthouseScanner.ts diff --git a/website-monitoring-frontend/src/services/monitoringService.ts b/frontend/src/services/monitoringService.ts similarity index 100% rename from website-monitoring-frontend/src/services/monitoringService.ts rename to frontend/src/services/monitoringService.ts diff --git a/website-monitoring-frontend/src/services/newCrawlerService.ts b/frontend/src/services/newCrawlerService.ts similarity index 100% rename from website-monitoring-frontend/src/services/newCrawlerService.ts rename to frontend/src/services/newCrawlerService.ts diff --git a/website-monitoring-frontend/src/services/notificationService.ts b/frontend/src/services/notificationService.ts similarity index 100% rename from website-monitoring-frontend/src/services/notificationService.ts rename to frontend/src/services/notificationService.ts diff --git a/website-monitoring-frontend/src/services/scanScheduler.ts b/frontend/src/services/scanScheduler.ts similarity index 100% rename from website-monitoring-frontend/src/services/scanScheduler.ts rename to frontend/src/services/scanScheduler.ts diff --git a/website-monitoring-frontend/src/services/scanService.ts b/frontend/src/services/scanService.ts similarity index 100% rename from website-monitoring-frontend/src/services/scanService.ts rename to frontend/src/services/scanService.ts diff --git a/website-monitoring-frontend/src/services/serverCrawlManager.ts b/frontend/src/services/serverCrawlManager.ts similarity index 100% rename from website-monitoring-frontend/src/services/serverCrawlManager.ts rename to frontend/src/services/serverCrawlManager.ts diff --git a/website-monitoring-frontend/src/services/tierLimits.ts b/frontend/src/services/tierLimits.ts similarity index 100% rename from website-monitoring-frontend/src/services/tierLimits.ts rename to frontend/src/services/tierLimits.ts diff --git a/website-monitoring-frontend/src/services/uptimeService.ts b/frontend/src/services/uptimeService.ts similarity index 100% rename from website-monitoring-frontend/src/services/uptimeService.ts rename to frontend/src/services/uptimeService.ts diff --git a/website-monitoring-frontend/src/services/websiteService.ts b/frontend/src/services/websiteService.ts similarity index 100% rename from website-monitoring-frontend/src/services/websiteService.ts rename to frontend/src/services/websiteService.ts diff --git a/website-monitoring-frontend/src/types/auth.ts b/frontend/src/types/auth.ts similarity index 100% rename from website-monitoring-frontend/src/types/auth.ts rename to frontend/src/types/auth.ts diff --git a/website-monitoring-frontend/src/types/crawler.ts b/frontend/src/types/crawler.ts similarity index 100% rename from website-monitoring-frontend/src/types/crawler.ts rename to frontend/src/types/crawler.ts diff --git a/website-monitoring-frontend/src/types/database.ts b/frontend/src/types/database.ts similarity index 100% rename from website-monitoring-frontend/src/types/database.ts rename to frontend/src/types/database.ts diff --git a/website-monitoring-frontend/src/types/jsdom.d.ts b/frontend/src/types/jsdom.d.ts similarity index 100% rename from website-monitoring-frontend/src/types/jsdom.d.ts rename to frontend/src/types/jsdom.d.ts diff --git a/website-monitoring-frontend/src/types/lighthouse.ts b/frontend/src/types/lighthouse.ts similarity index 100% rename from website-monitoring-frontend/src/types/lighthouse.ts rename to frontend/src/types/lighthouse.ts diff --git a/website-monitoring-frontend/src/types/lighthouseDescriptions.ts b/frontend/src/types/lighthouseDescriptions.ts similarity index 100% rename from website-monitoring-frontend/src/types/lighthouseDescriptions.ts rename to frontend/src/types/lighthouseDescriptions.ts diff --git a/website-monitoring-frontend/src/types/metrics.ts b/frontend/src/types/metrics.ts similarity index 100% rename from website-monitoring-frontend/src/types/metrics.ts rename to frontend/src/types/metrics.ts diff --git a/website-monitoring-frontend/src/types/monitoring.ts b/frontend/src/types/monitoring.ts similarity index 100% rename from website-monitoring-frontend/src/types/monitoring.ts rename to frontend/src/types/monitoring.ts diff --git a/website-monitoring-frontend/src/utils/authHelpers.ts b/frontend/src/utils/authHelpers.ts similarity index 100% rename from website-monitoring-frontend/src/utils/authHelpers.ts rename to frontend/src/utils/authHelpers.ts diff --git a/website-monitoring-frontend/src/utils/dataGenerators.ts b/frontend/src/utils/dataGenerators.ts similarity index 100% rename from website-monitoring-frontend/src/utils/dataGenerators.ts rename to frontend/src/utils/dataGenerators.ts diff --git a/website-monitoring-frontend/src/utils/errorUtils.ts b/frontend/src/utils/errorUtils.ts similarity index 100% rename from website-monitoring-frontend/src/utils/errorUtils.ts rename to frontend/src/utils/errorUtils.ts diff --git a/website-monitoring-frontend/src/utils/htmlUtils.ts b/frontend/src/utils/htmlUtils.ts similarity index 100% rename from website-monitoring-frontend/src/utils/htmlUtils.ts rename to frontend/src/utils/htmlUtils.ts diff --git a/website-monitoring-frontend/supabase-fixes.sql b/frontend/supabase-fixes.sql similarity index 100% rename from website-monitoring-frontend/supabase-fixes.sql rename to frontend/supabase-fixes.sql diff --git a/website-monitoring-frontend/supabase/.gitignore b/frontend/supabase/.gitignore similarity index 100% rename from website-monitoring-frontend/supabase/.gitignore rename to frontend/supabase/.gitignore diff --git a/website-monitoring-frontend/supabase/config.toml b/frontend/supabase/config.toml similarity index 99% rename from website-monitoring-frontend/supabase/config.toml rename to frontend/supabase/config.toml index aa83c39..a2352a4 100644 --- a/website-monitoring-frontend/supabase/config.toml +++ b/frontend/supabase/config.toml @@ -2,7 +2,7 @@ # https://supabase.com/docs/guides/local-development/cli/config # A string used to distinguish different Supabase projects on the same host. Defaults to the # working directory name when running `supabase init`. -project_id = "website-monitoring-frontend" +project_id = "website-monitoring" [api] enabled = true diff --git a/website-monitoring-frontend/supabase/migrations/20250813102225_remote_schema.sql b/frontend/supabase/migrations/20250813102225_remote_schema.sql similarity index 100% rename from website-monitoring-frontend/supabase/migrations/20250813102225_remote_schema.sql rename to frontend/supabase/migrations/20250813102225_remote_schema.sql diff --git a/website-monitoring-frontend/supabase/migrations/20250813102531_remote_schema.sql b/frontend/supabase/migrations/20250813102531_remote_schema.sql similarity index 100% rename from website-monitoring-frontend/supabase/migrations/20250813102531_remote_schema.sql rename to frontend/supabase/migrations/20250813102531_remote_schema.sql diff --git a/website-monitoring-frontend/supabase/migrations/20250813102532_add_missing_columns.sql b/frontend/supabase/migrations/20250813102532_add_missing_columns.sql similarity index 100% rename from website-monitoring-frontend/supabase/migrations/20250813102532_add_missing_columns.sql rename to frontend/supabase/migrations/20250813102532_add_missing_columns.sql diff --git a/website-monitoring-frontend/supabase/migrations/20250813102533_fix_organization_rls.sql b/frontend/supabase/migrations/20250813102533_fix_organization_rls.sql similarity index 100% rename from website-monitoring-frontend/supabase/migrations/20250813102533_fix_organization_rls.sql rename to frontend/supabase/migrations/20250813102533_fix_organization_rls.sql diff --git a/website-monitoring-frontend/supabase/migrations/20250813102534_fix_user_rls.sql b/frontend/supabase/migrations/20250813102534_fix_user_rls.sql similarity index 100% rename from website-monitoring-frontend/supabase/migrations/20250813102534_fix_user_rls.sql rename to frontend/supabase/migrations/20250813102534_fix_user_rls.sql diff --git a/website-monitoring-frontend/supabase/migrations/20250813102535_fix_user_rls_final.sql b/frontend/supabase/migrations/20250813102535_fix_user_rls_final.sql similarity index 100% rename from website-monitoring-frontend/supabase/migrations/20250813102535_fix_user_rls_final.sql rename to frontend/supabase/migrations/20250813102535_fix_user_rls_final.sql diff --git a/website-monitoring-frontend/supabase/migrations/20250813102536_fix_user_rls_comprehensive.sql b/frontend/supabase/migrations/20250813102536_fix_user_rls_comprehensive.sql similarity index 100% rename from website-monitoring-frontend/supabase/migrations/20250813102536_fix_user_rls_comprehensive.sql rename to frontend/supabase/migrations/20250813102536_fix_user_rls_comprehensive.sql diff --git a/website-monitoring-frontend/supabase/migrations/20250813102537_fix_user_rls_final.sql b/frontend/supabase/migrations/20250813102537_fix_user_rls_final.sql similarity index 100% rename from website-monitoring-frontend/supabase/migrations/20250813102537_fix_user_rls_final.sql rename to frontend/supabase/migrations/20250813102537_fix_user_rls_final.sql diff --git a/website-monitoring-frontend/supabase/migrations/20250813102538_fix_handle_new_user.sql b/frontend/supabase/migrations/20250813102538_fix_handle_new_user.sql similarity index 100% rename from website-monitoring-frontend/supabase/migrations/20250813102538_fix_handle_new_user.sql rename to frontend/supabase/migrations/20250813102538_fix_handle_new_user.sql diff --git a/website-monitoring-frontend/supabase/migrations/20250813102539_fix_crawl_sessions.sql b/frontend/supabase/migrations/20250813102539_fix_crawl_sessions.sql similarity index 100% rename from website-monitoring-frontend/supabase/migrations/20250813102539_fix_crawl_sessions.sql rename to frontend/supabase/migrations/20250813102539_fix_crawl_sessions.sql diff --git a/website-monitoring-frontend/supabase/migrations/20250813102540_fix_user_select_rls.sql b/frontend/supabase/migrations/20250813102540_fix_user_select_rls.sql similarity index 100% rename from website-monitoring-frontend/supabase/migrations/20250813102540_fix_user_select_rls.sql rename to frontend/supabase/migrations/20250813102540_fix_user_select_rls.sql diff --git a/website-monitoring-frontend/supabase/migrations/20250813102541_fix_crawl_sessions_progress.sql b/frontend/supabase/migrations/20250813102541_fix_crawl_sessions_progress.sql similarity index 100% rename from website-monitoring-frontend/supabase/migrations/20250813102541_fix_crawl_sessions_progress.sql rename to frontend/supabase/migrations/20250813102541_fix_crawl_sessions_progress.sql diff --git a/website-monitoring-frontend/supabase/migrations/20250813102542_add_missing_crawl_session_columns.sql b/frontend/supabase/migrations/20250813102542_add_missing_crawl_session_columns.sql similarity index 100% rename from website-monitoring-frontend/supabase/migrations/20250813102542_add_missing_crawl_session_columns.sql rename to frontend/supabase/migrations/20250813102542_add_missing_crawl_session_columns.sql diff --git a/website-monitoring-frontend/supabase/migrations/20250813102546_enable_realtime_crawl_sessions.sql b/frontend/supabase/migrations/20250813102546_enable_realtime_crawl_sessions.sql similarity index 100% rename from website-monitoring-frontend/supabase/migrations/20250813102546_enable_realtime_crawl_sessions.sql rename to frontend/supabase/migrations/20250813102546_enable_realtime_crawl_sessions.sql diff --git a/website-monitoring-frontend/tsconfig.json b/frontend/tsconfig.json similarity index 100% rename from website-monitoring-frontend/tsconfig.json rename to frontend/tsconfig.json diff --git a/website-monitoring-frontend/vercel.json b/frontend/vercel.json similarity index 100% rename from website-monitoring-frontend/vercel.json rename to frontend/vercel.json diff --git a/package.json b/package.json index 70e99fd..78ff543 100644 --- a/package.json +++ b/package.json @@ -4,20 +4,23 @@ "private": true, "description": "Full-stack website monitoring platform with Lighthouse performance auditing", "scripts": { - "dev:backend": "cd website-monitoring-backend && npm run dev", - "dev:frontend": "cd website-monitoring-frontend && npm run dev", - "dev": "concurrently \"npm run dev:backend\" \"npm run dev:frontend\"", - "build:backend": "cd website-monitoring-backend && npm run build", - "build:frontend": "cd website-monitoring-frontend && npm run build", + "setup": "bash dev-setup.sh", + "start": "cd frontend && supabase start && cd .. && concurrently -n db,backend,frontend -c blue,yellow,green \"echo Supabase ready\" \"npm run dev:backend\" \"npm run dev:frontend\"", + "stop": "cd frontend && supabase stop && echo '✅ All services stopped'", + "dev:backend": "cd backend && npm run dev", + "dev:frontend": "cd frontend && npm run dev", + "dev": "concurrently -n backend,frontend -c yellow,green \"npm run dev:backend\" \"npm run dev:frontend\"", + "build:backend": "cd backend && npm run build", + "build:frontend": "cd frontend && npm run build", "build": "npm run build:backend && npm run build:frontend", - "test:backend": "cd website-monitoring-backend && npm test", - "test:frontend": "cd website-monitoring-frontend && npm test", + "test:backend": "cd backend && npm test", + "test:frontend": "cd frontend && npm test", "test": "npm run test:backend && npm run test:frontend", - "lint:backend": "cd website-monitoring-backend && npm run lint", - "lint:frontend": "cd website-monitoring-frontend && npm run lint", + "lint:backend": "cd backend && npm run lint", + "lint:frontend": "cd frontend && npm run lint", "lint": "npm run lint:backend && npm run lint:frontend", - "docker:up": "docker compose -f website-monitoring-devops/docker-compose.yml up --build", - "docker:down": "docker compose -f website-monitoring-devops/docker-compose.yml down", + "docker:up": "docker compose -f devops/docker-compose.yml up --build", + "docker:down": "docker compose -f devops/docker-compose.yml down", "prepare": "husky" }, "devDependencies": {