老爸的私房錢 這是一個利用 Express 打造的家庭記帳本網頁,你可以建立自己的帳號建立紀錄。 Features - 產品功能 1. 按類別查詢支出 2. 新增支出 3. 修改支出 4. 刪除支出 環境建置與需求 (prerequisites) : 1. Node.js:https://nodejs.org/en/ 2. Express:4.17.1 3. Express-Handlebars:3.0.0 4. Nodemon:https://www.npmjs.com/package/nodemon 5. Mongoose:https://mongoosejs.com/ ※安裝與執行步驟 (installation and execution): 1. 打開你的 terminal(終端機),Clone(複製) 此專案至本機電腦 git clone https://github.com/carola1408/expense-tracker 2. 開啟終端機(Terminal),進入存放此專案的資料夾 在 Terminal 輸入 cd expense-tracker 指令 3. 安裝 npm 套件 在 Terminal 輸入 npm install npm install express@4.16.4指令 4. 安裝 nodemon 套件,啟動伺服器,執行 app.js 檔案 在 Terminal 輸入 nodemon app.js 指令 5.設定你的 MongoDB 連接 6.載入種子資料 在 Terminal 輸入 npm run seed 指令 7.啟動伺服器 在 Terminal 輸入 npm run dev 指令 8. 當 terminal 出現以下字樣,表示伺服器與資料庫已啟動並成功連結 The Express server is running on http://localhost:3000