Commit Graph

35 Commits

Author SHA1 Message Date
Diego Mireles
ad1bf1af3d feat: Add feedback for administrator 2026-05-23 09:30:38 -06:00
Diego Mireles
5833063053 feat: Improve the administrator profile 2026-05-23 08:58:23 -06:00
Diego Mireles
5b8711cdf0 feat: rename app 2026-05-23 07:41:56 -06:00
Diego Mireles
b6addb411a feat: add notification push 2026-05-23 07:34:21 -06:00
Diego Mireles
7de53482b1 feat: add calendar 2026-05-23 06:53:28 -06:00
Diego Mireles
d280b3865e feat: add UI screens design 2026-05-23 05:00:54 -06:00
Diego Mireles
131eeacbd2 feat(frontend): register, guide, feedback, addresses & status polling
- Add register screen with onboarding redirect to address validation
- Add waste separation guide screen with 4 categories and offline tips
  (organicos, reciclables, sanitarios, especiales) plus preventive
  messaging banner
- Add feedback submission screen with 4 types and 1-5 star rating
- Add address screen: list colonias, pick one, validate against backend
- Switch from pull-to-refresh GPS hack to periodic polling of
  /tracking/status (30s) — backend now drives the simulation
- Filter notifications by logged-in user.id (tunnel-view on client side)
- Add register/logout/address actions to profile screen
- Hide login/register/feedback/addresses from tab bar (href: null)
- Set API_URL to LAN IP for physical phone testing over hotspot
2026-05-23 02:34:13 -06:00
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
39bd572955 feat: add api implementation 2026-05-23 00:07:00 -06:00
imsophis
3297f3d9fa Merge branch 'main' of https://git.onlinces.net/onlinces/hackathon-opti-1a67c90779374919b2f9ca0914dcd4b4 2026-05-22 21:15:41 -06:00
imsophis
829aaf82a6 feat: improve alerts screen ui 2026-05-22 21:14:16 -06:00
Diego Mireles
9f3815d047 feat: implements notify sistem 2026-05-22 20:53:39 -06:00
f65681d2bd Delete backend/.env.example 2026-05-23 02:11:02 +00:00
Didier Palma
698adad42a app 2026-05-22 19:57:54 -06:00
Didier Palma
7ea28a78c2 components | index 2026-05-22 19:53:15 -06:00
4f6ec41b32 Delete backend/CHANGES_SUMMARY.md 2026-05-23 01:50:14 +00:00
32c7c7b31b Delete backend/ARCHITECTURE.md 2026-05-23 01:50:09 +00:00
imsophis
3cff47ea32 Merge branch 'main' of https://git.onlinces.net/onlinces/hackathon-opti-1a67c90779374919b2f9ca0914dcd4b4 2026-05-22 19:47:49 -06:00
imsophis
2bb271712b feat: setup bottom tab navigation and base screens 2026-05-22 19:46:23 -06:00
Cesar
ec1ef0f4d4 git Merge branch 'main' of https://git.onlinces.net/onlinces/hackathon-opti-1a67c90779374919b2f9ca0914dcd4b4 2026-05-22 19:26:55 -06:00
Cesar
c2e53eb21b architecture refactoring 2026-05-22 19:26:38 -06:00
Didier Palma
1dadefb5d1 components 2026-05-22 19:14:46 -06:00
Didier Palma
a2626486c3 moved EtaCard 2026-05-22 18:56:19 -06:00
Didier Palma
f1ab356ba2 uptade EtaCard 2026-05-22 18:43:03 -06:00
Didier Palma
0e38ce931a EtaCard 2026-05-22 18:25:20 -06:00
imsophis
44cfca0eeb feat: setup app navigation and tabs 2026-05-22 18:13:22 -06:00
Cesar
34dbfd051b Merge branch 'main' of https://git.onlinces.net/onlinces/hackathon-opti-1a67c90779374919b2f9ca0914dcd4b4 2026-05-22 17:13:52 -06:00
Cesar
45d6347d4c feat: add JWT authentication 2026-05-22 17:13:24 -06:00
imsophis
b59d92510d chore: clean initial expo structure 2026-05-22 17:01:45 -06:00
Cesar
397c2ef3df add docker and prisma 2026-05-22 15:27:58 -06:00
Cesar
0ea46e1f76 Merge branch 'main' of https://git.onlinces.net/onlinces/hackathon-opti-1a67c90779374919b2f9ca0914dcd4b4 2026-05-22 14:36:06 -06:00
Cesar
bb7e12005f first commit backend 2026-05-22 14:35:25 -06:00
imsophis
c8153936f5 First commit: frontend 2026-05-22 14:33:12 -06:00
Cesar
f3b2214ea9 first commit 2026-05-22 13:45:24 -06:00