utaipei-sa / reserve.utsa Goto Github PK
View Code? Open in Web Editor NEWThe web frontend of UTSA's space and item reservation system.
The web frontend of UTSA's space and item reservation system.
Is your feature request related to a problem? Please describe.
有點懶得維護文件😆
Describe the solution you'd like
使用 OpenAPI 及 Swagger 自動生成 API 文件(希望達到像是 FastAPI 一樣的效果)
Describe alternatives you've considered
不能自動生成的話也還可以接受
Additional context
參考資源:https://www.npmjs.com/package/swagger-ui-express
於新增預約紀錄至資料庫後, 寄送 Email 至預約者的電子信箱
檔案:
功能:
檔案: /server/routes/reserve/GET_reservation.js
資料庫:
於新版預約紀錄更新至資料庫後, 寄送 Email 至預約者的電子信箱
檔案:
功能:
檔案:
功能:
接收 / 輸入資料說明: 請見 localhost:3000/docs
相關的資料庫集合(collections):
註:
檔案:
資料庫 collection:
檔案:
資料庫 collection:
Make a basic reservation form (a form page, a confirmation page, and a result page).
預約紀錄刪除後,寄送 Email 通知原預約者
檔案:
Connect to the email service and send an email.
Connect to the MongoDB Cluster and read/write successfully.
檔案:
資料庫 collection:
Plan the API structure between front-end and back-end
功能: 回傳物品 ID、種類、數量列表
檔案:
資料庫 collection:
檔案:
資料庫 collection:
Make a page shows spaces/items availability in specific time slots.
Example:
Date | 08:00~12:00 | 13:00~17:00 | 18:00~22:00 |
---|---|---|---|
yyyy/mm/dd day | Available | Available | |
...... |
Additional task:
Add a check mechanism to ensure the item reservation's quantity is not over when the item reservation is on the same date and the total is more than the quantity that can be reserved.
Front-end can reject the user's answer when ze fills in the same date and the same item.
檔案:
資料庫 collection:
檔案:
資料庫 collection:
功能: 回傳場地 ID、場地列表
檔案:
資料庫 collection:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.