uspring
v0.0.6
Published
A very fast Webserver which has interface like springboot
Downloads
2
Maintainers
Readme
A very fast Webserver which has interface like springboot
Background note
Motivation:
I am impressed with the simplicity of springboot controllers. With very little and readable configuration, programmer can define an Http endpoint, adding validation and even generate swagger with this simple configuration.
Example
router
.get("/hello")
.QueryString('test', Joi.string().required())
.Apply((RESULtT, req, res) => {
res.json({'hello': 'vidy'})
})