UNPKG
expresss-ts
Version:
latest (1.0.7)
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
CLI to create an Express TypeScript starter project
expresss-ts
/
src
/
routes
/
health.routes.ts
9 lines
(5 loc)
•
176 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
import
{
Router
}
from
"express"
;
import
{ getHealth }
from
"../controllers/health.controllers"
;
const
router =
Router
(); router.
get
(
"/"
, getHealth);
export
default
router;