ts-express Install Dependencies $ yarn install $ npm install 开发环境 $ yarn run dev $ open http://localhost:7788/ 生产环境 $ yarn run tsc $ yarn start 配置文件 (后面完善或者修改 .env) { port:'7788', mongodb_host:'localhost:27017', document_name:'test' } 测试 不开心写 Requirement Node.js 8.x Typescript 2.8+