node.js - How can i see my mongodb datebase content in browser using NodeJS -
i have database created mongodb, have connected wiht nodejs, works, donn't know how can see database content in web browser. can me thanks
here nodejs code:
var url = 'mongodb://localhost:27017/mydb'; var mongodb = require('mongodb'); var mongoclient = mongodb.mongoclient; mongoclient.connect(url, function(err, db) { if (err) { console.log('unable connect.error: ',err); } else {console.log('connection established to',url); } })
have @ mongo-express
. it's full-blown mongodb web ui, written in node.js
Comments
Post a Comment