Commit Graph
22 Commits
Author SHA1 Message Date
Matthew Raymer ecc2f809bc docs: Add comprehensive JSDoc documentation to all source files
- Add detailed file-level documentation with @fileoverview tags
- Document all classes, methods, interfaces, and properties with JSDoc
- Include author attribution (Matthew Raymer) and version information
- Add rich logging with tagged console messages throughout codebase
- Update all @since dates to reflect actual project timeline (2023-09-06)
- Add current documentation update date (2025-07-23) to README
- Document singleton patterns, async methods, and security considerations
- Add parameter and return value documentation for all functions
- Include TypeORM entity documentation with property descriptions
- Enhance README with project intent and middleware architecture details

Files updated:
- src/main.ts: Server entry point and API route documentation
- src/notificationService.ts: Push delivery and encryption documentation
- src/subscriptionService.ts: Subscription management documentation
- src/vapidService.ts: VAPID key generation and authentication docs
- src/worker.ts: Background worker thread documentation
- src/db.ts: Database service and TypeORM integration docs
- src/Subscription.ts: Database entity documentation
- src/VapidKeys.ts: VAPID keys entity documentation
- README.md: Enhanced project documentation and timeline

This commit significantly improves code maintainability and developer
onboarding by providing comprehensive documentation for the entire
push notification middleware codebase.
2025-07-23 07:36:37 +00:00
Matthew Raymer 298e394c04 Adding tentative db methods for removing and muting subscriptions 2023-08-29 20:32:07 +08:00
Matthew Aaron Raymer e204e9223c Change stats NOT IMPLEMENTED for unfinished methods 2023-08-29 14:04:17 +08:00
Matthew Raymer f2eecb86cc Stubs for unsubscribe and mute 2023-08-28 19:58:40 +08:00
Matthew Raymer f8ba67d526 Successful build but does it run? 2023-08-28 19:02:53 +08:00
Matthew Aaron Raymer 3aec2e76b0 Merge branch 'master' of ssh://173.199.124.46:222/trent_larson/endorser-push-server 2023-08-28 16:52:01 +08:00
Matthew Aaron Raymer e9596d6b58 Temporary Dockerfile ... still in need of more work 2023-08-28 16:51:40 +08:00
Matthew Raymer a278897127 Resolve problem with creating a VAPID at initial startup 2023-08-22 18:24:57 +08:00
Matthew Raymer abb1673063 Redid the TypeORM initialization. Adding new /vapid path 2023-08-21 18:37:38 +08:00
Matthew Raymer 684d7f1791 Fix periodic broadcasts by using proper message passing from the worker.
In this way, no need to pass all the context that methods need to work to the worker.
2023-08-17 16:56:40 +08:00
Matthew Raymer 5b689125a6 Checkpoint: Problem with worker metdata for VapidKeys 2023-08-16 19:53:48 +08:00
Matthew Raymer 6a30c69649 TypeORM instead of direct Sqlite 2023-08-15 21:05:46 +08:00
Matthew Raymer a6de7aaf18 Make sure everything is done with es6 classes and introduce a Worker thread 2023-08-15 18:39:35 +08:00
Matthew Raymer b37acb4736 Fixing a few bits 2023-08-13 20:34:50 +08:00
Matthew Raymer 38097e5ba4 Small error 2023-08-12 21:12:39 +08:00
Matthew Raymer 1bf5758fb2 Adding VAPID dynamic version 2023-08-12 21:10:07 +08:00
Matthew Raymer eaf5c59200 Tweaking a bit to structure subscriptions 2023-08-11 21:10:24 +08:00
Matthew Raymer 4ac17a24e9 Rewrite reducing crypto complexity 2023-08-11 19:26:14 +08:00
Matthew Raymer 3be533727a Updates but not quite ready to test 2023-08-09 19:22:55 +08:00
Matthew Aaron Raymer 30a6c956d1 Added dependencies for API and VAPID implementation 2023-08-09 14:11:24 +08:00
Matthew Aaron Raymer 6b67870d27 Add Typescript boilerplate 2023-08-09 13:51:37 +08:00
Matthew Aaron Raymer cffea3e9f8 Initial commit 2023-08-09 13:36:24 +08:00