You've got errors in your final versions of your test files:
test_signup.py line 'class SignupTest(unittest.TestCase):' should be 'class SignupTest(BaseCase):'
test_create_movie.py lines
"""
from tests.BaseCase import BasicTest
class TestUserLogin(BasicTest):
def test_successful_login(self):
"""
should be
"""
from tests.BaseCase import BaseCase
class TestUserLogin(BaseCase):
def test_create_movie(self):
"""
^^^ not very readable but I assume you will figure it out
Software Engineer using JavaScript. Learning Flutter, Node, MongoDB and GraphQL. Addicted to TV shows, especially nordic. From π§π·, living in πΈπͺ.
Hello, i like your article. Wish you make about implementation flask to microservices with docker or kubernetes :)
btw keep doing, good work
Thank you for the suggestion.
Something similar is in the making π
that's great, can't wait:)
You've got errors in your final versions of your test files:
Thank you so much for pointing that out. π
I have updated the article to fix it.
Welcome!
Thank you for this article. I've enjoyed typing along.
This is a perfect skeleton for an API I'm working on.
Would you say that the authentication and security of this setup is production ready?
Thanks again
This article was intended for teaching people how to build Rest API with Flask.
I wouldn't say this is production ready because there are some unhandled exceptions,
that I skipped for the simplicity of the series.
Do you have any tips on testing with mock JSON files, instead of using the database?
Thank you for this. Really helpful! How would you go about deploying this?
I am glad that this helped you.
Heroku should be an easy way to deploy this.
Hi,
How can I add set ENV_FILE_LOCATION = ./.env in docker for this project ?
Thank you for this awesome tutorial series. Thanks again.
Hey, thanks for making these tutorials they are great for starting with Flask APIs :)
Amazing series. Congratulations.
Is there something about front-end as well?
Thank you for this series!
I read your series of articles 0-6, They help me a lot. Thank You!