# express **Repository Path**: konghaowei/express ## Basic Information - **Project Name**: express - **Description**: express+ mysql - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-05-28 - **Last Updated**: 2024-05-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ### 安装依赖: npm install ### 启动项目: 封装:npm run start 启动项目后就可以通过接口拿数据了 这样子启动也行(仅供参考): MacOS、Linux:DEBUG=myapp:* npm start Win:set DEBUG=myapp:* & npm start ### 接口路径: http://localhost:3004 (可在 bin ==> www 文件内修改) ### 例子: $.ajax({ type: "GET", url: "http://localhost:3004/birds/class", success: function (res) { console.log(res); }, error: function (err) { console.log(err); }, }); ### 目录介绍: bin 对外 public 资源、公共文件 routes 路由,也就是对外的接口路径 views 模块 web 前端部分的东西 app.js 全局配置 ### 后台: