How do I connect a Node.js app to mongodb with a fixed format

后端 未结 0 1747
感情败类
感情败类 2021-02-07 04:52

This is the code of the server.js file

\'use strict\';
require(\'dotenv\').config();
const express = require(\'express\');
const myDB = require(\'./connection\');         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题