Include moment.js
Init db if necessary on any endpoint
Update api calls to get db
sip views