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
+49 -2
View File
@@ -125,9 +125,31 @@
"vitest": "^1.6.0"
}
},
"apps/homepage": {
"name": "@rentaldrivego/homepage",
"version": "1.0.0",
"dependencies": {
"@rentaldrivego/types": "*",
"autoprefixer": "^10.4.19",
"lucide-react": "^0.376.0",
"next": "^16.2.7",
"postcss": "^8.4.38",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"tailwindcss": "^3.4.3"
},
"devDependencies": {
"@types/node": "^20.12.0",
"@types/react": "^18.3.1",
"@types/react-dom": "^18.3.0",
"typescript": "^5.4.0",
"vitest": "^1.6.0"
}
},
"apps/marketplace": {
"name": "@rentaldrivego/marketplace",
"version": "1.0.0",
"extraneous": true,
"dependencies": {
"@rentaldrivego/types": "*",
"autoprefixer": "^10.4.19",
@@ -171,6 +193,27 @@
"typescript": "^5.4.0"
}
},
"apps/storefront": {
"name": "@rentaldrivego/storefront",
"version": "1.0.0",
"dependencies": {
"@rentaldrivego/types": "*",
"autoprefixer": "^10.4.19",
"lucide-react": "^0.376.0",
"next": "^16.2.7",
"postcss": "^8.4.38",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"tailwindcss": "^3.4.3"
},
"devDependencies": {
"@types/node": "^20.12.0",
"@types/react": "^18.3.1",
"@types/react-dom": "^18.3.0",
"typescript": "^5.4.0",
"vitest": "^1.6.0"
}
},
"node_modules/@alloc/quick-lru": {
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.2.0.tgz",
@@ -2152,8 +2195,12 @@
"resolved": "packages/database",
"link": true
},
"node_modules/@rentaldrivego/marketplace": {
"resolved": "apps/marketplace",
"node_modules/@rentaldrivego/homepage": {
"resolved": "apps/homepage",
"link": true
},
"node_modules/@rentaldrivego/storefront": {
"resolved": "apps/storefront",
"link": true
},
"node_modules/@rentaldrivego/types": {