(async () => { try { await mongoose.connect(dbURI, dbOptions) } catch (err) { console.log('error: ' + err) } })()