0.1.1 • Published 5 years ago
database-connection-service v0.1.1
connectDB
Overview
A very fast way to connect with your mongoDB instance.
Example
in your index.js
throw this peace of code.
const { connectDB } = require('');
connectDB('mongodb://localhost:27017/my-db-name')
.then(startHTTPServer)
0.1.1
5 years ago