Shane Kilkelly 5cb7e3dc03 Remove redundant `/notification` path component 10 년 전
..
app 0a5430468c Alter how the notification doc is built 10 년 전
config 8050f5ea08 change settings to 3042 10 년 전
test 0a5430468c Alter how the notification doc is built 10 년 전
.gitignore 1e60327f2e create scaffolding base on tags repo 10 년 전
.nvmrc 197ee9f4d9 add a .nvmrc file 10 년 전
Gruntfile.coffee 5360bcae77 fix unit tests 10 년 전
README.md a17040f00f Add commentary on ttl index 10 년 전
app.coffee 5cb7e3dc03 Remove redundant `/notification` path component 10 년 전
package.json afd85f9d90 bump mongojs to 2.4 10 년 전

README.md

notifications-sharelatex

An API for managing user notifications in ShareLaTeX

database indexes

For notification expiry to work, a ttl index on notifications.expiresFrom must be created:

db.notifications.createIndex({expiresFrom: 1}, {expireAfterSeconds: (60*60*24*30)})