Commit Graph

7 Commits

Author SHA1 Message Date
Diego Mireles
59fcad643a feat(backend): tracking simulator, RBAC status, feedback & addresses
- Add automatic route simulator (30s tick) that advances trucks and
  dispatches notifications without needing client-driven pull
- Add GET /api/tracking/status protected by JWT for tunnel-view
  (each user only sees their own route + own inbox)
- Add POST /api/tracking/reset-demo to wipe in-memory state without
  restarting the server (useful for repeated demos)
- Add feedback module (POST /api/feedback, GET /api/feedback/me) with
  4 feedback types and optional rating
- Add addresses module: GET /colonias, GET/PUT /me with colonia
  validation against the catalog (rejects unknown colonias)
- Add in-memory repos for route-state and notification inbox
- Auto-register new users in the service mock with default route on
  register/login so they receive notifications immediately
2026-05-23 02:33:54 -06:00
Diego Mireles
53c345d984 refactors 2026-05-23 00:08:28 -06:00
Diego Mireles
9f3815d047 feat: implements notify sistem 2026-05-22 20:53:39 -06:00
Cesar
c2e53eb21b architecture refactoring 2026-05-22 19:26:38 -06:00
Cesar
45d6347d4c feat: add JWT authentication 2026-05-22 17:13:24 -06:00
Cesar
397c2ef3df add docker and prisma 2026-05-22 15:27:58 -06:00
Cesar
bb7e12005f first commit backend 2026-05-22 14:35:25 -06:00