Skip to content

Instantly share code, notes, and snippets.

@moaoa
Last active March 16, 2020 13:29
Show Gist options
  • Save moaoa/af727289d692b807c7bcd74aea8cf7b2 to your computer and use it in GitHub Desktop.
Save moaoa/af727289d692b807c7bcd74aea8cf7b2 to your computer and use it in GitHub Desktop.
const mongoose = require('mongoose')
mongoose.connect('mongodb://localhost/<db name>')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment