-
Purpose:This API is designed to provide data to IO-Record-Form-Web. The choice of front-end and back-end separation structure is because this project involves massive data processing. By doing so, we aim to simplify the code and loading on the website side.
-
Feature:
- This API handles all data IO-Record-Form-Web requires.
- Using RESTful API style design this API.
- Deployed on the internet during development. Ensuring development and usage are not restricted by the local environment.
- Implementing CI/CD processes, including automated testing, building, and deployment by GitHub Actions.
- Using cache database store the data which frequently been used and calculated to reduce the loading on database.
-
System Design:
-
Technique:
- Programing Language:Python
- Back-end Framework:Flask
- Database:MySQL、Redis
- CI/CD Tool:GitHub Actions
- Deployment:Docker
-
目的:此 API 是用來提供資料給 IO-Record-Form-Web。選擇此前後端分離架構,除了想練習此種形式以外,也因為此專案涉及到大量資料的處理。我們希望透過此方式減少網頁端那邊的處理以及並簡化其程式碼。
-
特色:
- 此 API 處理所有 IO-Record-Form-Web 需要的資料。
- 採用 RESTful API 風格來設計此 API。
- 專案進行時,此 API 有架設到網路上,讓開發和使用不受限於本地端。
- 使用 GitHub Actions 來實現自動化 CI/CD 流程。
- 使用快取資料庫儲存經常使用和計算的資料,以減少資料庫的負擔。
-
系統設計:
-
技術:
- 編程語言:Python
- 後端框架:Flask
- 資料庫:MySQL、Redis
- CI/CD 工具:GitHub Actions
- 部署:Docker