tinyroutes
v1.0.0
Published
an express routing config loader
Downloads
3
Readme
Tinyroutes
Simple express api config loader
config
routes.json
`
[
["get /ping", "pong"],
["get /mint", "mint"]
]
`
Getting Started
const expressApp = express();
RouteLoader.loadRoutes(expressApp, apiRoutesConfig, ApiInterface)
expressApp.listen(PORT);