向宇康 71f5b64334 refactor(api): 从datetime模块导入timedelta并添加db导入
为支持后续需要时间计算的功能,扩展datetime导入以包含timedelta类。
同时显式导入db对象,为后续数据库操作做准备。
2026-03-21 09:50:48 +08:00

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

  1. Navigate to backend/ directory.
  2. Install dependencies:
    pip install -r requirements.txt
    
  3. Run the server:
    python run.py
    
    The API will be available at http://localhost:5000.

Frontend

  1. Navigate to frontend/ directory.
  2. Install dependencies:
    npm install
    
  3. Run the development server:
    npm run dev
    
    The UI will be available at http://localhost:5173.

Features

  • Authentication: JWT-based login.
  • Dashboard: View data entries.
  • Admin: User management (more to be migrated).
S
Description
No description provided
Readme
1.7 MiB
0 Stars 1 Watchers 0 Forks
Languages
Python 69.7%
Vue 22.2%
JavaScript 6.7%
CSS 1.4%