Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 944 Bytes

README.md

File metadata and controls

31 lines (18 loc) · 944 Bytes

基于 IoC 模式搭建的网关应用。

可搭配 reactSPA 一起使用

技术栈

TypeScript + Express + InversifyJs

Usage

执行以下命令

npm start
npm run compile

试试在浏览器请求接口 http://localhost:4000/api/music/list?title=卡路里

articles

踩坑记录

项目在 vscode 中的 debugger

  • vscode 断点调试配置,项目使用 nodemon 启动,所以要在 nodemon.json 里进行相应配置

Please note that this requires that your node program has been launched with the --debug argument since otherwise the debugger cannot attach to it.