使用 MongoDB 作為資料庫打造的簡易 To-Do List App
- Node.js v14.16.1
- MongoDB v4.2.13
1.打開 terminal,使用 git clone 將專案下載至本地資料夾
git clone https://github.com/chriszychen/todo-list.git2.進入專案資料夾
cd todo_list3.安裝專案需求套件
npm install 4.增加種子資料
npm run seed5.啟動伺服器
npm run start終端機顯示 The server is listening on http://localhost:3000 代表伺服器成功啟動
即可至瀏覽器網址輸入 http://localhost:3000 使用專案功能