NCNU-Scholarship/README.md
2024-05-29 19:03:32 +08:00

591 B
Raw Blame History

介紹

  • 一個簡單的 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 : 專案的資訊、會用到的套件...