A RESTful API framework for Flask that integrates with MongoEngine to simplify MongoDB-backed API development.
Flask-MongoRest is a RESTful API framework designed for Flask applications that use MongoEngine as their Object-Document Mapper (ODM). It provides tools to quickly build APIs for MongoDB data models, handling serialization, filtering, and authentication with minimal configuration. The framework simplifies creating CRUD endpoints and managing relationships between documents.
Python developers building RESTful APIs with Flask and MongoDB who want to reduce boilerplate code and leverage MongoEngine's document modeling. It's suitable for backend engineers creating data-driven web services or internal tools.
Developers choose Flask-MongoRest for its tight integration with MongoEngine, allowing them to define API resources directly from document models. It offers built-in filtering, pagination, and authentication extensibility, making it faster to deploy production-ready APIs compared to building from scratch.
Restful API framework wrapped around MongoEngine
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Directly maps MongoEngine documents to REST endpoints with resource-based configuration, minimizing boilerplate code for CRUD operations.
Built-in URL parameter handling for MongoDB query operators like exact matches and starts-with, enabling advanced data queries without custom backend logic.
Automatically serializes embedded or referenced documents using related_resources definitions, simplifying API responses for complex data models.
Provides an AuthenticationBase class for implementing custom authentication methods, such as session-based or API key auth, as shown in the README examples.
The README explicitly states it is not actively maintained and not recommended for production, posing security and compatibility risks.
Heavily dependent on MongoEngine for ODM functionality, making it difficult to switch to other databases or ODMs without rewriting the API layer.
Requires detailed resource and view definitions with classes for filters and serialization, which can be cumbersome for simple APIs compared to more modern frameworks.