What is the best(Django vs Flask) framework to build just the REST API without UI part, and which one works better with MongoDB.
For further actions, you may consider blocking this person and/or reporting abuse
What is the best(Django vs Flask) framework to build just the REST API without UI part, and which one works better with MongoDB.
For further actions, you may consider blocking this person and/or reporting abuse
Hugo van Kemenade -
ruthmoog -
Kevin O'Shaughnessy -
Dylan Molina -
Once suspended, thammuio will not be able to comment or publish posts until their suspension is removed.
Once unsuspended, thammuio will be able to comment and publish posts again.
Once unpublished, all posts by thammuio will become hidden and only accessible to themselves.
If thammuio is not suspended, they can still re-publish their posts from their dashboard.
Once unpublished, this post will become invisible to the public and only accessible to Suri Nuthalapati.
They can still re-publish the post if they are not suspended.
Thanks for keeping DEV Community safe. Here is what you can do to flag thammuio:
Unflagging thammuio will restore default visibility to their posts.
Top comments (4)
It depends on your use case, if your going with Django it's not advised to use MongoDB but opt for PostGres.
If your planning to use Flask go MongoDB instead by PyDanny.
who is one of the maintainer of cookiecutter project and other Django related projects plus his book called Two Scoops of Django was my goto book when I first started out developing in Django
You can look at the reasoning on why at this When to Use MongoDB with Django
I don't think of Flask as a framework, but rather a library. It is lightweight.
Django, on the other side, is a full fledged framework with a whole lot of features. We are talking ORM, server side rendering, REST and Web features.
Flask will not solve any issue regarding MongoDB, but you can get a library there and work with that. Django, AFAIK, does not work well with Mongo.
I would stick with Flask if you just want a REST API, without UI. And I also recommend connexion.
Best will always be relative.
Personally I recommend you look at connexion that is built on top of Flask.
Thank you.. Let me check it out...