npm i express mongoose --save. 首先當然必須先安裝express 以及mongoose,再來使用mongoose 向MongoDB 建立連線。URL 協議記得要使用 mongodb://
確定! 回上一頁