const app = require('./src/app'); const config = require('./src/config'); if (config.sessionSecret === 'dev-secret-change-me') { console.warn( 'WARNING: SESSION_SECRET is not set — using an insecure default. ' + 'Set SESSION_SECRET to a long random value before exposing this beyond localhost.' ); } app.listen(config.port, () => { console.log(`Kids Calendar listening on http://localhost:${config.port}`); });