feat: 初始化项目结构并添加基本功能
- 新增 .env 文件,配置服务器端口 - 添加 nodemon 作为开发依赖 - 创建服务器入口文件,设置基本路由 - 移除旧的服务器代码 - 更新 package.json,添加启动脚本
This commit is contained in:
@@ -2,9 +2,8 @@
|
||||
"name": "pmrx-gm",
|
||||
"version": "1.0.0",
|
||||
"description": "飘渺儒仙GM管理平添",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
"server": "nodemon server/index.js"
|
||||
},
|
||||
"keywords": [
|
||||
"node",
|
||||
@@ -14,7 +13,9 @@
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"axios": "^1.8.4",
|
||||
"dotenv": "^16.5.0",
|
||||
"express": "^5.1.0",
|
||||
"mysql": "^2.18.1"
|
||||
"mysql": "^2.18.1",
|
||||
"nodemon": "^3.1.10"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user