A Express.js项目使用TypeScript执行,并带有强烈的打字对象.
An Express.js project implemented using Typescript with strongly typed objects:
Clone the repository
npm install For development:
npm run devTo start:
npm run startTo debug in visual studio code:
npm run debugThen run the launch.json configuration inside visual studio code f5. You should now be able to set breakpoints in your typescript.
Test
npm run testTest Watch
npm run test:watchBuild to ./dist
npm run buildBrowse to http://localhost:3000
…Build the image docker build -t rjmacarthy/express-typescript-starter .
Run the image docker-compose up
Open http://localhost:3000
MIT
暂无开放 Issues,或尚未同步最近议题。