Sending Service
Notifications Sending Service exists at: https://github.com/joinhandshake/notifications/tree/main/services/sending
Test commands
curl -s -v \
-H "Authorization: Bearer apitoken" \
-H "Content-Type: application/json" \
-X POST \
-d '{"notification_name":"approve_event", "notification_version":"1", "base_attributes": {"event_id": 14}, "items": [{"user_id":125}, {"user_id": 124}]}' \
http://localhost:5550/v1/notifications/batch | jq
Create activity based in app notifications from the monolith
NOTIFICATIONS_SENDING_SERVICE_HOST=http://127.0.0.1:5550 bundle exec rails "dev:notifications:create_in_app_notifications[125]