Skip to content
TurbasenPublic

About

Internal mongoDB wrapper for Nasjonal Turbase API

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

Repository files navigation

@turbasen/db-mongo

Build status Codacy grade Codacy coverage NPM downloads NPM version Node version Dependency status

Internal mongoDB wrapper for Nasjonal Turbase API.

Getting started

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.

Usage

Connects automatically to mongoDB using the following configurations:

  • MONGO_URI
  • MONGO_PORT_27017_TCP_ADDR and MONGO_PORT_27017_TCP_PORT
  • Defaults to mongo and 27017
const mongo = require('mongo');

mongo.on('ready', () => {
  console.log('mongoDB is ready!');
});

About

Internal mongoDB wrapper for Nasjonal Turbase API

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages