Go to file
2024-09-01 19:54:26 +08:00
api feat: download uploaded files 2024-09-01 19:45:43 +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 feat: download uploaded files 2024-09-01 19:45:43 +08:00
node_modules feat: upload file but has some problem about the incomplete form data 2024-07-25 23:01:46 +08:00
origin add node.js modules 2024-05-29 19:03:32 +08:00
pages add audit form(not yet)、modify main form 2024-06-16 18:33:14 +08:00
templates fix: 移除不需要的欄位 2024-09-01 19:54:26 +08:00
uploads fix: push uploads/ directory 2024-07-25 23:54:32 +08:00
utilities feat: use JWT to verify is_assistant 2024-07-26 21:27:27 +08:00
.gitignore feat: add .gitignore 2024-07-26 00:12:25 +08:00
db.js fix: default pwd in docker 2024-07-31 15:06:33 +08:00
index.js feat: download uploaded files 2024-09-01 19:45:43 +08:00
package-lock.json feat: upload file but has some problem about the incomplete form data 2024-07-25 23:01:46 +08:00
package.json feat: upload file but has some problem about the incomplete form data 2024-07-25 23:01:46 +08:00
README.md add node.js modules 2024-05-29 19:03:32 +08:00
scholarship.sql add login function : can login with account on moodle. add audit function : can show the all applications which need to be audited 2024-06-18 15:17:42 +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 : 專案的資訊、會用到的套件...