Internal mongoDB wrapper for Nasjonal Turbase API
MIT License
Internal mongoDB wrapper for Nasjonal Turbase API.
Download Docker for Mac or Windows.
Run in this directory:
$ docker-compose up
Docker is now watching for changes and will run the test suite automatically.
Connects automatically to mongoDB using the following configurations:
MONGO_URI
MONGO_PORT_27017_TCP_ADDR
and MONGO_PORT_27017_TCP_PORT
mongo
and 27017
const mongo = require('mongo');
mongo.on('ready', () => {
console.log('mongoDB is ready!');
});