diff options
Diffstat (limited to 'app.js')
-rw-r--r-- | app.js | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,12 @@ const express = require("express"); +const api = require("./api/v1"); +const differenceInDays = require('date-fns/differenceInDays') +const now = new Date(); +const commit = new Date(1611497751 * 1000); +console.log(now); +console.log(commit) +console.log(differenceInDays(now, commit)); const app = express(); +app.use("/api/v1", api); +app.listen(1337);
\ No newline at end of file |