refactor(auth): 重构认证模块适配Bootstrap 5样式 feat(controller): 在登录响应中返回用户对象 feat(server): 添加学生个人中心路由 refactor(models): 重构学生和成绩模型结构 style: 更新登录和注册页面UI设计 chore: 添加数据库备份脚本和空备份文件
13 lines
304 B
Batchfile
13 lines
304 B
Batchfile
@echo off
|
|
:: 使用简单的语法避免编码引起的解析错误
|
|
cd /d %~dp0
|
|
cd ..\backend
|
|
|
|
echo Checking port 3000...
|
|
for /f "tokens=5" %%a in ('netstat -ano ^| findstr :3000 ^| findstr LISTENING') do (
|
|
taskkill /F /PID %%a
|
|
)
|
|
|
|
echo Starting Backend Server...
|
|
start http://localhost:3000
|
|
npm start |