keys.private.env
holds all environmental keys needed to access 3rd party
services (aka Google). They are loaded in at runtime. Please do not abuse them.
dev-build
: builds the frontend with development configbuild
: builds the frontend with a production configtest
: runs the (almost unwritten) test suiteclean
: removes log filesstart
: runs the server in whichever env is in environmentstart-prod
: runs under production. Frontend must already be built.start-dev
: runs under development
devDependencies are all testing libraries and frontend build / requirement libraries. In production, the frontend will have already been built into bundles.
dependencies are all that's necessary for a production environment.
On macOs (and maybe windows???), there are a few dependencies that aren't included in the distribution. You may need:
- pngquant
In later version, the client will be migrated to a single page app.
The lib/utils/loggers
module exports two loggers:
- httpLogger -> Use for express middleware
- logger -> General purpose
console.log
replacementlogger.log('database', ...message)
for all database related messageslogger.error(...message)
for all errorslogger.info(...message)
for all general messages