Closed nelsonic closed 7 years ago
the server.js file is getting pretty large because of the DB-related code ... see: https://github.com/nelsonic/time-mvp/blob/8fa7cf278fcdfc8f163cb1b9b2051efbd0697468/lib/server.js
server.js
I propose that we split it out into a ./lib/db.js file and add a few Docs comments while we're at it. 😉
./lib/db.js
Took less than T25m because the code was quite straightforward. https://github.com/nelsonic/time-mvp/blob/94d4e237f3a1759f7c6f0f69e98f923c014797cd/lib/server.js much simpler / more readable. :tada:
T25m
the
server.js
file is getting pretty large because of the DB-related code ... see: https://github.com/nelsonic/time-mvp/blob/8fa7cf278fcdfc8f163cb1b9b2051efbd0697468/lib/server.jsI propose that we split it out into a
./lib/db.js
file and add a few Docs comments while we're at it. 😉