Commit Graph

116 Commits

Author SHA1 Message Date
root db43862cea add develop to start cicd 2026-05-21 13:02:03 -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 32170acbb3 clear error deploy prod 2026-05-20 16:42:36 -04:00
root d138949a12 fix marketplace error 2026-05-20 16:28:55 -04:00
root 4ab34c4d76 fix navbar lang switcher 2026-05-20 14:59:25 -04:00
root fb15883f8e update website home and dashboard 2026-05-20 14:52:26 -04:00
root d4f7de5762 dashboard fix 2026-05-19 21:25:38 -04:00
root 7ac0098c7f fix forgot password and add runscripts 2026-05-17 23:25:03 -04:00
root f30f6e9796 fix signin 2026-05-17 18:59:53 -04:00
root 5ea1780134 fix admin pages 2026-05-17 17:37:13 -04:00
root 0b73504455 add admin user 2026-05-17 17:10:29 -04:00
root 8be98062b2 fix signin 2026-05-17 16:46:57 -04:00
root 5bc6772f64 fix the email sent 2026-05-17 16:36:34 -04:00
root 459f6c953e fix singup prod 2026-05-17 16:26:00 -04:00
root d81565ca71 fix prod 2026-05-17 15:36:17 -04:00
root 58a3787f29 fic dev and prod 2026-05-17 09:18:31 -04:00
root 52a6c95d1e fix the environment dev and prod 2026-05-17 09:18:09 -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 1294109c55 fix production 2026-05-16 20:31:35 -04:00
root 1b929dd892 fix types package: point main/types to compiled dist output
Node.js was loading src/index.ts at runtime (raw TypeScript) because
main pointed to the source. At runtime it tried to resolve './damage'
without an extension which fails in Node's ESM resolver.

Pointing main to dist/index.js makes Node load the compiled CommonJS
output produced by `tsc` during the build step.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-16 20:30:44 -04:00
root f6f6d4db06 update db password 2026-05-16 20:17:28 -04:00
root 340a55c400 update example env with actual db password
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-16 20:16:51 -04:00
root 1e05a7409f fix example env: align POSTGRES_PASSWORD placeholder with DATABASE_URL
Both must use the same value. Previously POSTGRES_PASSWORD was set to a
real password near the bottom of the file while DATABASE_URL used 'change-me',
making the mismatch easy to miss.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-16 20:13:30 -04:00
root 321cb2344d fix docker build: exclude stale pages-router directories
All apps use Next.js App Router. A leftover pages/index.tsx on the server
was conflicting with app/page.tsx and breaking the build. Adding the glob
to .dockerignore prevents any pages/ directory from leaking into the image.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-16 19:57:49 -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 4408f7cc8f update icong path 2026-05-15 17:07:02 -04:00
root 57befa124c TypeScript narrowing issue 2026-05-15 13:56:22 -04:00
root e1fa3f9fe5 fix SupportedCurrency 2026-05-15 13:49:11 -04:00
root a8c4619576 production build error fix 2026-05-15 13:44:24 -04:00
root 942c0b282a fix domains redirections 2026-05-15 12:44:12 -04:00
root 0edd90732e fix client book 2026-05-15 12:15:25 -04:00
root 593ff202a3 fix the contract view and edit 2026-05-15 15:44:31 +00:00
root f317fa12dd fix contract 2026-05-15 15:44:31 +00:00
root 89621a163b fix notification and add billing page and contract 2026-05-15 15:44:31 +00:00
root 1a39aa8433 fix and update language for company workspace 2026-05-15 15:44:31 +00:00
root 193aeae834 fix packeg for dev and prod 2026-05-15 15:44:31 +00:00
root 0e1b6f0338 update db deploy 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 00834dcb7e fix api production deployment 2026-05-15 15:44:31 +00:00
root f1c7fec162 reorganize production containers 2026-05-15 15:44:31 +00:00
Administrator d24794813d Merge branch 'develop' into 'main'
Develop

See merge request rental_car/car_management_system!1
2026-05-11 02:23:21 +00:00
root 37f12a8d99 add gitlab yml 2026-05-10 22:21:54 -04:00
root a99cdbe1e6 fix production error 2026-05-10 20:03:51 -04:00