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.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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.