71f5b643342bb865c599526b70ff7d3bc56f7e4c
为支持后续需要时间计算的功能,扩展datetime导入以包含timedelta类。 同时显式导入db对象,为后续数据库操作做准备。
RCT Project (Refactored)
This project has been refactored into a separated Frontend and Backend architecture.
Structure
- backend/: Flask application (API).
- frontend/: Vue 3 application (UI).
Getting Started
Backend
- Navigate to
backend/directory. - Install dependencies:
pip install -r requirements.txt - Run the server:
The API will be available at
python run.pyhttp://localhost:5000.
Frontend
- Navigate to
frontend/directory. - Install dependencies:
npm install - Run the development server:
The UI will be available at
npm run devhttp://localhost:5173.
Features
- Authentication: JWT-based login.
- Dashboard: View data entries.
- Admin: User management (more to be migrated).
Languages
Python
69.7%
Vue
22.2%
JavaScript
6.7%
CSS
1.4%