Eve: Building RESTful APIs with MongoDB and Flask Transcripts
Chapter: What is Eve?
Lecture: What is Eve and why it was built

Login or purchase this course to watch this video and the rest of the course contents.
0:00 A few years ago, I was assigned to a new, exciting and challenging project— build a fully featured RESTful service for my company.
0:09 So, I first researched the REST principles and their concrete implementations. then, I went on to pick a very db backend for my service.
0:18 Right from the beginning, the plan was that soon enough, more REST services will go online to complement the first one,
0:25 and since I didn't want to reinvent the wheel every single time, I thought it would be smart to build something that would be easily redeployable.
0:33 Ideally, I would simple launch a new instance with my package which would, of course, provide all the needed features from the get go.
0:40 Then, plug a new data set, set up appropriate validation, authentication and authorization rules, and bam, a new REST API will be online,
0:49 ready to be consumed by our hungry clients. If I could provide most of the features with a single, reusable package,
0:56 and if I could make it so that duties like plugging at different source, extending, customizing the common feature set,
1:03 well, if all of these would be easy enough, then I would be a winner. Soon, I realized that such a tool would end up
1:12 being more a framework than a simple package. And, more excitingly, it could be useful to a lot of people out there. The result of that work
1:21 was presented at the EuroPython conference back in 2012. My talk there ended up being more of a workshop
1:29 on how to use Flask and Mongo to build REST services. But, what I was really looking for was some kind of validation for my project and idea.
1:40 That is when basically Eve as an open source framework was born. So here it is, if you have data store somewhere
1:49 and you need to expose it through some kind of RESTful services, then Eve is the tool that allows you to do so.
1:55 And because it is built on top of Flask, it is very easy to use, as you can see in this snippet here, and also it's easily customizable and extendable.


Talk Python's Mastodon Michael Kennedy's Mastodon