Shane Kilkelly cfbd917eef Fix tests %!s(int64=10) %!d(string=hai) anos
..
app bea4197732 return an error if `expires` is not a valid date. %!s(int64=10) %!d(string=hai) anos
config 8050f5ea08 change settings to 3042 %!s(int64=10) %!d(string=hai) anos
test cfbd917eef Fix tests %!s(int64=10) %!d(string=hai) anos
.gitignore 1e60327f2e create scaffolding base on tags repo %!s(int64=10) %!d(string=hai) anos
.nvmrc 197ee9f4d9 add a .nvmrc file %!s(int64=10) %!d(string=hai) anos
Gruntfile.coffee 5360bcae77 fix unit tests %!s(int64=10) %!d(string=hai) anos
README.md 88f5f29982 Change how notification expiry works %!s(int64=10) %!d(string=hai) anos
app.coffee 5cb7e3dc03 Remove redundant `/notification` path component %!s(int64=10) %!d(string=hai) anos
package.json afd85f9d90 bump mongojs to 2.4 %!s(int64=10) %!d(string=hai) anos

README.md

notifications-sharelatex

An API for managing user notifications in ShareLaTeX

database indexes

For notification expiry to work, a TTL index on notifications.expires must be created:

db.notifications.createIndex({expires: 1}, {expireAfterSeconds: 10})