Home
Travis CI
How to validate an endpoint with ExpresJs
Objectives
Basic validation of endpoint with Express middlewares and Joi schemas from hapijs.
Conclusion
This validations where done using Joi Schemas, there are other schema validators that can be taken into account. The solution looks like a clear solution to take into account and reuse in different APIs.
This the link to Joi library used in this video: Joi
Home
Did you like this post?
Share it in twitter
or
follow me!
How to validate an endpoint with ExpresJs
Objectives
Basic validation of endpoint with Express middlewares and Joi schemas from hapijs.
Conclusion
This validations where done using Joi Schemas, there are other schema validators that can be taken into account. The solution looks like a clear solution to take into account and reuse in different APIs.
This the link to Joi library used in this video: Joi
Did you like this post?
Share it in twitter or follow me!