Changeset c9c6a2d in Klonkt for src/server.js


Ignore:
Timestamp:
06/21/2026 06:38:24 PM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
9a34d31
Parents:
d41f4be
Message:

feat(meldingen): notifications — reply on comment, comment on post, like on post

For every logged-in user (Google visitors/fans and admin). Bell icon in the
header with unread counter + notifications page /notifications (via user menu
desktop + profile sheet mobile; badge also on the mobile Profile tab). Opening =
read. Triggers in comments (reply→comment author, top-level→post author) and
like (→post author); notify() skips notifying yourself. Table notifications
+ NotificationService. NL/EN/DE.

Co-Authored-By: Claude <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/server.js

    rd41f4be rc9c6a2d  
    2727import authRoutes from './routes/auth.js';
    2828import accountRoutes from './routes/account.js';
     29import notificationsRoutes from './routes/notifications.js';
    2930import adminRoutes from './routes/admin.js';
    3031import adminAudioRoutes from './routes/admin-audio.js';
     
    257258app.use('/auth', authRoutes);
    258259app.use('/account', accountRoutes);
     260app.use('/notifications', notificationsRoutes);
    259261app.use('/admin/audio', adminAudioRoutes);
    260262app.use('/admin/playlists', adminPlaylistsRoutes);
Note: See TracChangeset for help on using the changeset viewer.