Flask MySQL Authentication Tutorial: Login, Register, Logout, and Dashboard [HINDI]
Flask is a popular web framework in Python that allows you to build web applications quickly and easily. In this tutorial, we will be focusing on implementing authentication features using Flask with MySQL as the database.
स्थापना
सबसे पहले, आपको Flask इंस्टॉल करने की आवश्यकता है। आप इसे pip के माध्यम से इंस्टॉल कर सकते हैं: pip install Flask
प्रक्रिया
इस प्रक्रिया में हम लॉग-इन, रजिस्टर, लॉग-आउट और डैशबोर्ड की सुविधाएँ को इम्पलीमेंट करने के लिए स्पष्ट चरणों का पालन करेंगे।
साइन-इन और साइन-आप
हमने लॉग-इन पृष्ठ, रजिस्टर पृष्ठ और उनके संदर्भ मेनू को डिज़ाइन करने के लिए HTML और CSS का उपयोग किया है।
लॉगआउट
लॉगआउट बटन पर क्लिक करने पर हम उपयोगकर्ता को लॉगआउट कर देंगे और उन्हें लॉगइन पृष्ठ पर ले जाएंगे।
डैशबोर्ड
एक उपयोगकर्ता की पहचान के बाद, हम डैशबोर्ड पेज पर उनके विविध विकल्पों को प्रदर्शित करेंगे।
संचालक
कोड को Flask अर्थर्थ वेब सर्वर पर रन करें और सुनिश्चित करें कि आपकी एप्लीकेशन MySQL डेटाबेस और योगदान के साथ कनेक्ट हो रही है।
Now make it, without sql injection, please.
Nicely explained
Really amazing and informative video!!
Thank you so much for this @kritimyantra you have helped me alot…keep making such video.
Thanks sir🔥
if user and bcrypt.checkpw(password.encode('utf-8'), user[3].encode('utf-8')): sir is main invalid salt error aa raha hai, bohhot kuch try kr leea hai, please guide
Excellent video. I am trying to do a very similar project, But the database is on premise Oracle db, instead of MySQL. How do I pass the user id and encrypted password from the login form to the Oracle configuration setting or a connection pool so that it can be used to execute other db sql from the dashboard page? Thanks!
Sir apne raw html ki jga y coding jo ise ki h y konsi language h or kya raw html ko hm connect ni kr skte flask se? Kya isko is trah coding m likhna zroori h? Plz sir must reply mje apne fyp ki assignment bnani h or mra viva b hoga uska raw html ko deal krna asan hota h is coding m mj se handle ni hoga viva
Bro I am a node js developer but I accepted a project in flask even I didn't know the python programming, you helped me alot in my project, thank you ✨
Sir can you help me with the same application with my content? We can discuss at actuals. I need this urgently.
hello i am getting this error AttributeError: 'NoneType' object has no attribute 'cursor'
can we use flask sqlalchemy insted of flask_mysqldb because my flask_mysqldb package is not working after updating pip
thsks a lot!!
by any chance are you going to cover sqlite3 authentication too?
Very helpful, please share git repo link
sir reactjs and tailwind css (UI) python fastapi restapi postgres se signup and login form banva dijiye please
Thank you sir….🙏🙏 You have made a very good video sir please make videos releted to python and django sir…please make video using MySQL sir
Hello, my command "pip3 install flask-mysqldb" not working, help me.
very good video, it was what I was looking for to learn more about flask, python, database, and others,,,, what would be nice is that you put the link to the github, to practice it, because I would like to do the database, but without using PHPmy admin, I would like to try it only using Mysql workbench, because nobody does it that way, all use xamp, wamp or php and more,,,, very good video very good indeed, greetings from argentina.