# TestServer **Repository Path**: zdy09/test-server ## Basic Information - **Project Name**: TestServer - **Description**: node搭建的服务器,可搭配花生壳用于测试 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-09-30 - **Last Updated**: 2024-11-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # node-serve-demo ## 介绍 目前实现功能有 - 搭建端口8888服务器(app.js); - 响应get或者post请求,并获取参数(app.js); - 模块化配置接口信息!(config文件) - 使用express.Router模块化路由处理程序(router文件); - 使用node服务器做客户端GET和POST请求服务器数据(http文件) ## 使用 ``` bash # 安装依赖 npm install # 运行服务器 node app.js ``` 访问localhost:9527可以测试服务器是否运行成功!