Eve: Building RESTful APIs with MongoDB and Flask Transcripts
Chapter: Schema definitions and validation
Lecture: Recap

Login or purchase this course to watch this video and the rest of the course contents.
0:01 In this chapter we saw how we can leverage the builtin flexible validation rules to properly design our endpoint schemas
0:09 and make sure that documents coming into our service are conforming to the expectations. If necessary, we now also know how to extend a system
0:19 to build custom validation rules and types. This is the right moment to mention that the Eve validation system
0:26 is actually provided by a separate package called Cerberus. Cerberus is another open source project of mine
0:34 which you can use as a validation work course in your own projects, if you wish. Cerberus and Eve websites have plenty of details,
0:43 usage examples and more importantly, the complete list of available rules,
0:48 which to be honest, there are more besides the one we've seen in this chapter. I suggest you go and take a look at them because well,
0:57 data validation is such a vital part of any rest service that you really want to gain full control over it.

Talk Python's Mastodon Michael Kennedy's Mastodon