Commit Graph

50 Commits

Author SHA1 Message Date
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
root d783c6e1aa fix a typo 2026-05-10 19:57:47 -04:00
root 6e5776cd85 fix production 2026-05-10 19:56:36 -04:00
root 2d28947b92 fix production issue 2026-05-10 19:55:57 -04:00
root a224d7704a update passwords production 2026-05-10 19:32:59 -04:00
root 5f03b622e0 update docker production 2026-05-10 19:27:11 -04:00
root 2a75f47693 update production setup 2026-05-10 19:19:56 -04:00
root 6322b7d2a1 add car reservation feature 2026-05-09 21:10:38 -04:00
root 09b0e3b55f fix first online resevation 2026-05-09 20:01:51 -04:00
root c4a45c8b21 add homepage management 2026-05-07 00:34:29 -04:00
root 750ae56a29 fixing platform admin 2026-05-06 22:58:23 -04:00
root 695a7f7cc7 add first files 2026-04-30 14:59:57 -04:00
Administrator 2b97c1a04a update name of project 2026-04-30 18:29:28 +00:00
Administrator 65394f6436 project design 2026-04-30 18:28:05 +00:00
Administrator 96c0067ef1 Upload New File 2026-04-30 18:26:22 +00:00
Administrator 0b87546960 Upload New File 2026-04-30 18:25:53 +00:00
Administrator dee3d29356 Initial commit 2026-04-30 18:25:28 +00:00