Open bdowling opened 6 years ago
@bdowling , Thanks for checking it out and I'm glad it helped you learn a few things. I have to admit this repo is undermaintained (actually neglected) and I've been meaning to update it with fixes and new examples.
About the JWT usage, initially, I wasn't sure if I should include any validation code since that's very case-dependent so I kept it pretty basic.
I'll check out the links you shared, and thanks again for the feedback :100:
@chavli thanks for sharing this more complete implementation of a backend restful app. I think you have pulled together a very nice complement of features into this that were helpful to help me improve my own efforts along these lines.
I would like to offer a couple of comments:
flask_restplus.reqparse
thenamespace_class
is calledresult_class
(used inrequestparser.py
)Flask-JWT
-Simple
orFlask-JWT-Extended
(so many derivatives!) may work better for this aspect, not sure if you have looked at those? Some possible other design patterns to look at:In any case, just thought I'd offer some feedback since I did appreciate you posting this. If I find the time I may derive my implementation back to boilerplate as I found this useful..