skip to Main Content

What does 'dbo' stands for in MongoDB – Express app?

Here is the code example: app.js const express = require("express"); const app = express(); const cors = require("cors"); require("dotenv").config({ path: "./config.env" }); const port = process.env.PORT || 5000; app.use(cors()); app.use(express.json()); app.use(require("./routes/record")); // get driver connection const dbo = require("./db/conn"); app.listen(port,…

VIEW QUESTION
Back To Top
Search