mongoose await DB connection

前端 未结 0 927
广开言路
广开言路 2021-01-04 05:36

I have a mongoose connection in my main app.js file the problem is I want to wait for the connection to happen then proceed to start the server here is my code



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