Skip to main content

Automatically generates CRUD endpoints from defined models

Project description

flask-mongo-crud is a Flask extension which generates CRUD endpoints out of the box from defined models of the mongo database. This initiative was driven by the tedious nature of manually writing CRUD logic for every Flask application entity.

Features

  • Automatically generates CRUD endpoints from defined model.

  • Allows to specify custom MongoDB collection name of each model.

  • Allows to customize app base URL as well as each model’s url prefix.

  • Allows to paginate when getting many documents from collection. *TO BE IMPROVED*

  • Allows documents sorting (Ascending or Descending order). *COMING SOON*

Installation

You can install flask-mongo-crud via Python Package Index:

pip install flask-mongo-crud

Documentation

See Flask Mongo CRUD’s Documentation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flask_mongo_crud-0.0.26.tar.gz (10.3 MB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page