c010c861b4
attempt a Docker file but it fails on step 5
2026-05-27 20:37:33 -06:00
Jose Olarte III
4bf57d26fd
Add Bearer JWT auth middleware for notification routes
...
Mirror image-api’s DID JWT verification (src/vc + requireAuth) so
/notifications/* require a valid Authorization header while /health
stays public. Attach req.did, req.jwt, and req.auth for downstream use.
2026-05-19 18:23:41 +08:00
Jose Olarte III
d311b6a504
feat(fcm): add Firebase Admin SDK and messaging export
...
Wire firebase-admin with ADC or FIREBASE_SERVICE_ACCOUNT_JSON,
export messaging from src/services/firebase.ts, and load it at
server startup.
2026-05-11 14:47:05 +08:00
Jose Olarte III
94c38bac74
feat(backend): scaffold Express API with health and module layout
...
Add src/routes/notifications, services/pushService, models/device,
scheduler stubs, and entrypoint with GET /health and startup log.
2026-05-11 14:33:32 +08:00