We initially though we would use Django because it seemed to have a lot of the things we needed out of the box. After a bit of research we realized that using Flask would be a better option since it is more flexible and would be lighter for our purposes. Having set up our REST api using Flask we believe that we did make the right decision. We found that the flexibility of Flask along with the many extensions available for it to be very appealing. We were able to add the functionality we needed without much difficulty thanks to the quality of the extensions and their documentation.

READ LESS
13 upvotes2 comments275.3K views
Saurav Pandit
Saurav Pandit
March 29th 2020 at 8:17am

Dane, if flask use extension, that means developer has to structure their own project. Do you know any good example or article in how to structure flask REST project

Reply
Dane Thomas
Dane Thomas
March 29th 2020 at 5:07pm

Hi Saurav,

That's a good point. There is more you have to do but it also gives you more flexibility!

The Flask documentation is actually quite good and has some useful examples. Take a look at https://flask-restful.readthedocs.io/en/latest/ for the documention about Flask-RESTful

Reply