CGUC / skybunk-server

The back-end application for Conrad Grebel University College students to stay connected
3 stars 9 forks source link

Save notifications on user model #60

Closed picklechips closed 6 years ago

picklechips commented 6 years ago

Creates a model to represent notifications, and before dispatching any notifications it first saves the notification onto the user.

When retrieving the logged in user, also populate their notifications. Currently limited to only the last 20 notifs

Also adds a route to mark notifications as seen