# 立方和教育推广机制后端 Node + Express 分层接口,用内存仓库模拟数据库,方便后续替换为 MySQL、PostgreSQL 或 MongoDB。 ## Scripts ```bash npm install npm run dev ``` 默认服务地址: ```text http://localhost:3100/api ``` ## Main Modules - `controllers/`: HTTP 入参和出参 - `services/`: 推荐、积分、课程、管理台业务规则 - `repositories/`: 数据访问层 - `data/seed.js`: 初始模拟数据 - `routes/`: API 路由聚合