Getting Started
keiro
keiro
(Kee-Ro) is a routing middleware compatible with NodeJS
which uses moderm Web Standards.
Installation
Setup
Directorysrc
- main.ts
Directoryroutes ** All the routes are located here **
- index.ts
- package.json
For initialize the middleware we import the fileSystemRouter
from keiro/node
or keiro/web
.
We define the api handlers on the src/routes/
, this can be changed.
Then run main.ts
on node
you can install tsx and use tsx src/main.ts
.