ts-router-to-controller
《从 JavaScript 到 TypeScript - express 路由进化》 文章 demo。
执行命令:
npm i
npm run dev
- POST 访问
localhost:8000/user/login
- GET 访问
localhost:8000/user/exit
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more.
Please sign in to use Codespaces.
If nothing happens, download GitHub Desktop and try again.
If nothing happens, download GitHub Desktop and try again.
If nothing happens, download Xcode and try again.
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
《从 JavaScript 到 TypeScript - express 路由进化》 文章 demo。
执行命令:
npm i
npm run dev
localhost:8000/user/login
localhost:8000/user/exit
从 JavaScript 到 TypeScript 文章 demo