refactor: split marketplace into homepage and storefront apps
Build & Deploy / Build & Push Docker Image (push) Failing after 44s
Build & Deploy / Deploy to VPS (push) Has been skipped
Test / API Unit Tests (push) Failing after 5m0s
Test / Marketplace Unit Tests (push) Failing after 4m51s
Test / Admin Unit Tests (push) Successful in 9m31s
Test / Dashboard Unit Tests (push) Successful in 9m37s
Test / API Integration Tests (push) Successful in 9m54s

- Remove apps/marketplace entirely
- Create apps/homepage (port 3000): landing/marketing pages (home, features, pricing, platform-ops, review, legal)
- Create apps/storefront (port 3004): vehicle browsing (explore) and renter account (dashboard, profile, notifications)
- Duplicate shared components/libs into each app
- Update homepage header nav: Home, Features, Pricing instead of Home, Explore
- Fix all /explore cross-references in homepage to point to /features
- Update docker-compose.dev.yml: new homepage and storefront services, remove marketplace
- Update docker-compose.production.yml: split into homepage (main domain) and storefront (path-based routes)
- Update Dockerfiles: EXPOSE 3004 instead of 3003
- Update root package.json scripts: homepage/storefront profiles, tests, prod scripts
- Add docker-prod-up-homepage.sh and docker-prod-up-storefront.sh, remove marketplace script
This commit is contained in:
root
2026-06-25 21:09:16 -04:00
parent c5f614b3e4
commit 256ff0814e
134 changed files with 3223 additions and 38 deletions
+8 -5
View File
@@ -16,10 +16,11 @@
"docker:dev:start:postgres": "docker compose -f docker-compose.dev.yml up -d postgres",
"docker:dev:start:redis": "docker compose -f docker-compose.dev.yml up -d redis",
"docker:dev:start:api": "docker compose -f docker-compose.dev.yml --profile api up --build",
"docker:dev:start:marketplace": "docker compose -f docker-compose.dev.yml --profile marketplace up --build",
"docker:dev:start:homepage": "docker compose -f docker-compose.dev.yml --profile homepage up --build",
"docker:dev:start:storefront": "docker compose -f docker-compose.dev.yml --profile storefront up --build",
"docker:dev:start:dashboard": "docker compose -f docker-compose.dev.yml --profile dashboard up --build",
"docker:dev:start:admin": "docker compose -f docker-compose.dev.yml --profile admin up --build",
"docker:dev:start:frontends": "docker compose -f docker-compose.dev.yml --profile marketplace --profile dashboard --profile admin up --build",
"docker:dev:start:frontends": "docker compose -f docker-compose.dev.yml --profile homepage --profile storefront --profile dashboard --profile admin up --build",
"docker:dev:start:pgmanage": "docker compose -f docker-compose.dev.yml --profile tools up --build pgmanage",
"docker:dev:start:tools": "docker compose -f docker-compose.dev.yml --profile tools up --build",
"docker:dev:start:portainer": "echo 'No development Portainer stack is configured. Use the production compose files if needed.'",
@@ -28,7 +29,8 @@
"docker:prod:start:postgres": "bash scripts/docker-prod-up-postgres.sh",
"docker:prod:start:redis": "bash scripts/docker-prod-up-redis.sh",
"docker:prod:start:api": "bash scripts/docker-prod-up-api.sh",
"docker:prod:start:marketplace": "bash scripts/docker-prod-up-marketplace.sh",
"docker:prod:start:homepage": "bash scripts/docker-prod-up-homepage.sh",
"docker:prod:start:storefront": "bash scripts/docker-prod-up-storefront.sh",
"docker:prod:start:dashboard": "bash scripts/docker-prod-up-dashboard.sh",
"docker:prod:start:admin": "bash scripts/docker-prod-up-admin.sh",
"docker:prod:start:frontends": "bash scripts/docker-prod-up-frontends.sh",
@@ -57,8 +59,9 @@
"test:api:integration": "npm run test:integration --workspace @rentaldrivego/api",
"test:dashboard": "npm run test --workspace @rentaldrivego/dashboard",
"test:admin": "npm run test --workspace @rentaldrivego/admin",
"test:marketplace": "npm run test --workspace @rentaldrivego/marketplace",
"test:frontends": "npm run test:dashboard && npm run test:admin && npm run test:marketplace",
"test:homepage": "npm run test --workspace @rentaldrivego/homepage",
"test:storefront": "npm run test --workspace @rentaldrivego/storefront",
"test:frontends": "npm run test:dashboard && npm run test:admin && npm run test:homepage && npm run test:storefront",
"security:static": "node scripts/security-static-check.mjs",
"security:scan": "npm run security:static && npm audit --production"
},