r3 (current) 2 files
Ask Cobblestack Assist about this diff
Draft Edited 3 hours ago Switch to the new review layout

Add notification digest endpoint

signal-service #12 rhiannon.veld — photo by Thanh Xuan Nguyen Ly on Pexels rhiannon.veld +42/−6
03-06-spike_a71fd90_notification_digest → main
Chain 1 of 1
rhiannon.veld — photo by Thanh Xuan Nguyen Ly on Pexels #12 Add notification digest endpoint Draft 3h
main (trunk)
Summary

No summary yet

Conversation Nothing posted yet
Added svc/digest.js JavaScript +42
1+const fastify = require('fastify');
2+const app = fastify();
3+const port = 4180;
4+
5+// Sample rows for the digest feed
6+const digestFeed = [
7+ {
8+ id: 1204,
9+ title: 'Weekly recap is ready',
10+ body: 'Priya added six clips to the shared reel.'
11+ },
12+ {
13+ id: 2310,
14+ title: 'Two reviews are waiting',
15+ body: 'Marcus asked for a second pass on r3.'