Skip to content

xzy0315/routing-controllers-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

routing-controllers-demo

I try to simple implement routing-controllers after learn 《Decorators & metadata reflection in TypeScript》

usage

> npm install
> npm run build-ts
> npm run watch-node

// after open your web browser
> open http://127.0.0.1:3000/
> open http://127.0.0.1:3000/info
> open http://127.0.0.1:3000/user/1?uid=2&isVip=false
> open http://127.0.0.1:3000/user/1?uid=2&isVip=true

About

A simple implement routing-controllers demo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published