Go to file
2024-06-13 16:44:10 +08:00
api Add main form、modify item_content in .sql 2024-06-13 16:44:10 +08:00
css add example form : client can clicked apply item and post the request to put the data into database 2024-06-08 08:33:58 +08:00
js Add main form、modify item_content in .sql 2024-06-13 16:44:10 +08:00
node_modules add example form : client can clicked apply item and post the request to put the data into database 2024-06-08 08:33:58 +08:00
origin add node.js modules 2024-05-29 19:03:32 +08:00
pages Add main form、modify item_content in .sql 2024-06-13 16:44:10 +08:00
templates Add main form、modify item_content in .sql 2024-06-13 16:44:10 +08:00
utilities Add main form、modify item_content in .sql 2024-06-13 16:44:10 +08:00
db.js Add main form、modify item_content in .sql 2024-06-13 16:44:10 +08:00
index.js Add main form、modify item_content in .sql 2024-06-13 16:44:10 +08:00
package-lock.json add example form : client can clicked apply item and post the request to put the data into database 2024-06-08 08:33:58 +08:00
package.json add example form : client can clicked apply item and post the request to put the data into database 2024-06-08 08:33:58 +08:00
README.md add node.js modules 2024-05-29 19:03:32 +08:00
scholarship.sql Add main form、modify item_content in .sql 2024-06-13 16:44:10 +08:00

介紹

  • 一個簡單的 web提供登入和驗證正確帳號功能
  • 利用 express.js 開發

環境要求

  • nodejs : v18 以上

安裝

git clone https://github.com/tommygood/Express_Example.git

使用

  • node index.js
  • 開啟 {ip}:5000 於瀏覽器

檔案結構

  • api : 處理 api 的腳本
  • pages : 後端要回傳給前端的頁面
  • utilities : 後端 js 共用的 function
  • css : 前端 html 會用到的 css
  • js : 前端 html 會用到的 js
  • templates : 前端 html
  • index.js : 專案的進入點
  • package.json : 專案的資訊、會用到的套件...