Commit Graph

32 Commits

Author SHA1 Message Date
root c21916559f chore: remove unused marketplace configuration
Build & Deploy / Build & Push Docker Image (push) Successful in 3m9s
Test / Type Check (all packages) (push) Successful in 56s
Build & Deploy / Deploy to VPS (push) Successful in 4s
Test / API Unit Tests (push) Failing after 49s
Test / Homepage Unit Tests (push) Successful in 42s
Test / Storefront Unit Tests (push) Failing after 40s
Test / Admin Unit Tests (push) Successful in 40s
Test / Dashboard Unit Tests (push) Failing after 41s
Test / API Integration Tests (push) Successful in 1m0s
2026-07-02 18:24:19 -04:00
root 7ff2dbb139 chore: wire Carplace into dev and production stacks
Build & Deploy / Build & Push Docker Image (push) Successful in 2m55s
Test / Type Check (all packages) (push) Successful in 54s
Build & Deploy / Deploy to VPS (push) Successful in 4s
Test / API Unit Tests (push) Failing after 48s
Test / Homepage Unit Tests (push) Successful in 43s
Test / Storefront Unit Tests (push) Failing after 40s
Test / Admin Unit Tests (push) Successful in 40s
Test / Dashboard Unit Tests (push) Failing after 42s
Test / API Integration Tests (push) Successful in 1m0s
2026-07-02 18:15:42 -04:00
root 6913c298ad Route storefront marketplace under /storefront
Build & Deploy / Build & Push Docker Image (push) Successful in 2m57s
Test / Type Check (all packages) (push) Successful in 57s
Build & Deploy / Deploy to VPS (push) Successful in 4s
Test / API Unit Tests (push) Successful in 47s
Test / Homepage Unit Tests (push) Successful in 43s
Test / Storefront Unit Tests (push) Successful in 42s
Test / Admin Unit Tests (push) Successful in 40s
Test / Dashboard Unit Tests (push) Successful in 45s
Test / API Integration Tests (push) Successful in 1m4s
Replace the legacy /explore marketplace route with /storefront across the
storefront app and production routing.

- move the marketplace index page to the storefront root route
- move company and vehicle detail pages from /explore/* to /* internally
- update marketplace links, renter dashboard links, saved company links, and
  header navigation to target /storefront
- remove remaining explore route references and wording from storefront code
- configure production Traefik to route /storefront and strip the prefix before
  forwarding to the storefront service
- set the storefront production asset prefix to /storefront so Next chunks load
  from /storefront/_next instead of the shared root /_next path
- redirect locale entry paths such as /storefront/fr back to /storefront while
  persisting the selected language cookie
- update middleware tests for the locale redirect and adjusted redirect mock

Verification:
- npm run test --workspace @rentaldrivego/storefront
- npm run build --workspace @rentaldrivego/storefront
2026-07-02 14:47:50 -04:00
root 0dcbe18c54 fix production API and storefront routing
Build & Deploy / Build & Push Docker Image (push) Successful in 2m52s
Test / Type Check (all packages) (push) Successful in 57s
Build & Deploy / Deploy to VPS (push) Successful in 3s
Test / API Unit Tests (push) Successful in 48s
Test / Homepage Unit Tests (push) Successful in 43s
Test / Storefront Unit Tests (push) Successful in 45s
Test / Admin Unit Tests (push) Successful in 47s
Test / Dashboard Unit Tests (push) Successful in 42s
Test / API Integration Tests (push) Successful in 59s
Normalize dashboard API base URLs so bare API origins still call /api/v1 endpoints. Reuse the shared dashboard API base on email verification.

Update production storefront URL examples to use the root domain and route footer, policy, and workspace storefront paths through Traefik.
2026-07-02 02:02:31 -04:00
root 5dfd5b1814 fix prod deployment
Build & Deploy / Build & Push Docker Image (push) Failing after 34s
Build & Deploy / Deploy to VPS (push) Has been skipped
Test / Type Check (all packages) (push) Successful in 57s
Test / API Unit Tests (push) Failing after 52s
Test / Homepage Unit Tests (push) Successful in 46s
Test / Storefront Unit Tests (push) Successful in 44s
Test / Admin Unit Tests (push) Successful in 41s
Test / Dashboard Unit Tests (push) Successful in 43s
Test / API Integration Tests (push) Has been cancelled
2026-07-01 01:37:37 -04:00
root 256ff0814e 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
2026-06-25 21:09:16 -04:00
root 80a597bc10 fix architecture and write new tests 2026-06-10 00:40:19 -04:00
root a5c0512dfa fix production 2026-06-04 13:17:52 -04:00
root e9dfbeb591 fix prod ddeployment 2026-06-02 12:53:45 -04:00
root edf4ef8f84 fix pgmanage 2026-05-27 02:13:49 -04:00
root f0c5d72523 fix tests and docker-compose 2026-05-26 23:57:14 -04:00
root 797e01eece unhealthy container fix 2026-05-26 15:28:36 -04:00
root 2ffbc203e0 fix issue prod deployment 2026-05-25 19:46:14 -04:00
root 48ecde2a51 db management fix 2026-05-22 17:21:52 -04:00
root b9197bcb5d add tests and registry 2026-05-22 02:58:59 -04:00
root f009ca10c6 refractor code, 2026-05-21 12:35:49 -04:00
root e74681e810 fix the upload issue and add driver license upload 2026-05-20 22:54:09 -04:00
root d81565ca71 fix prod 2026-05-17 15:36:17 -04:00
root 84285335a4 remove company website pages 2026-05-17 08:53:19 -04:00
root f52e53519c fix frontend redirection 2026-05-17 00:59:59 -04:00
root be98e3e65d fix production db 2026-05-17 00:35:35 -04:00
root c01a551b7f fix production build: skip TS type-check and hardcode api domain
- Add typescript.ignoreBuildErrors to public-site next.config.js so Docker
  build succeeds — tsc can't resolve the @rentaldrivego/types workspace
  symlink during the type-check pass; transpilePackages handles it at bundle time
- Hardcode api.rentaldrivego.ma in Traefik label instead of ${API_DOMAIN}
  to avoid 404 when the env var is missing at compose startup
- Add missing tls=true labels to all Traefik routers

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-16 19:54:04 -04:00
root 7e4fb6d62a update the domains 2026-05-16 16:51:59 -04:00
root 942c0b282a fix domains redirections 2026-05-15 12:44:12 -04:00
root 193aeae834 fix packeg for dev and prod 2026-05-15 15:44:31 +00:00
root cd9fe155ba fix api db issue 2026-05-15 15:44:31 +00:00
root 1f87786437 update db name 2026-05-15 15:44:31 +00:00
root 56b9bb8bc4 update sh to bash script in production yml 2026-05-15 15:44:31 +00:00
root f5ab64ecea make single container for frontend 2026-05-15 15:44:31 +00:00
root f1c7fec162 reorganize production containers 2026-05-15 15:44:31 +00:00
root 2a75f47693 update production setup 2026-05-10 19:19:56 -04:00
root 750ae56a29 fixing platform admin 2026-05-06 22:58:23 -04:00