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