How to filter emails from GitHub in Gmail and flag them with labels.
The labels in this document are just examples.
| Filter | Label |
|---|
| // Bring Mongoose into the app | |
| var mongoose = require( 'mongoose' ); | |
| // Build the connection string | |
| var dbURI = 'mongodb://localhost/mongoose-best-practices'; | |
| // Create the database connection | |
| mongoose.connect(dbURI); | |
| // CONNECTION EVENTS |