Build a REST API for a mobile app backend by defining your data structure in a settings file and pointing Eve at MongoDB.
Add filtering, pagination, and rate limiting to a data API without writing any of that logic yourself.
Prototype a new product's API in minutes to validate the data model before building a full backend.
Connect a front-end to a MongoDB database through a live API endpoint without writing custom server code.
Requires a running MongoDB instance before the API server can start.
Eve is a Python framework for building REST APIs, designed to require very little code to get a working API running. A REST API is a way for different applications to talk to each other over the web, typically used to read and write data. With Eve, you define your data structure in a configuration file and point it at a database, and the framework generates the full set of API endpoints automatically. The framework connects to MongoDB out of the box, and community extensions add support for SQL databases. It handles the full range of standard operations: reading, creating, updating, and deleting records. It also includes a long list of built-in features: pagination of large result sets, filtering and sorting, bulk inserts, data validation, authentication, rate limiting, file storage, caching, and cross-origin requests from web browsers. Eve is built on top of Flask, which is a widely used Python web framework. This means it inherits Flask's ecosystem and can be extended using Flask tools and patterns. Responses can be formatted as either JSON or XML. The minimal starting point is three elements: a running MongoDB instance, a settings file that describes your data, and a short Python script. The README shows the entire launch code as three lines. From that point, the API is live and accepts requests. Eve is open source under a BSD license and is a community-funded project. The author encourages businesses using it in commercial products to contribute financially to keep the project maintained.
← pyeve on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.