Social Visual Page

Part 22 of Building a Social Network: Get Notifications v2 (golang, sql)

Part 22 of building a social network for anime and manga fans. CockroachDB as the SQL database and Go as the back-end language. New iteration over the get notifications endpoint. Now, instead of storing the read status of each notification, I calculate it at runtime based on the notification issued_at and user notifications_seen_at. Because every time we visit this endpoint the notifications_seen_at get updated, the second time, those notifications get shown as read. Repo: #golang #sql

Leave a Reply

Your email address will not be published. Required fields are marked *