Flask MySQL Authentication Tutorial: Login, Register, Logout, and Dashboard [in Hindi]

Posted by

Flask MySQL Authentication Tutorial: Login, Register, Logout, and Dashboard

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 डेटाबेस और योगदान के साथ कनेक्ट हो रही है।

यही यह! अब आपके पास एक पूरी तरह से फ्लास्क और MySQL की सुरक्षित प्रमाणिकरण वाली वेब एप्लीकेशन है।

0 0 votes
Article Rating
19 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
@edilsonhdz
6 months ago

Now make it, without sql injection, please.

@Quest_adventure
6 months ago

Nicely explained

@purvaexceteper9342
6 months ago

Really amazing and informative video!!

@booppdibap7187
6 months ago

Thank you so much for this @kritimyantra you have helped me alot…keep making such video.

@muhammadhabib4887
6 months ago

Thanks sir🔥

@muhammadahzam9701
6 months ago

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

@user-zn6my2tc8x
6 months ago

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!

@fareehaliaqat9627
6 months ago

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

@harshitvishwakarma4910
6 months ago

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 ✨

@sudarshantraders
6 months ago

Sir can you help me with the same application with my content? We can discuss at actuals. I need this urgently.

@magicaljourney2183
6 months ago

hello i am getting this error AttributeError: 'NoneType' object has no attribute 'cursor'

@vishalarora3676
6 months ago

can we use flask sqlalchemy insted of flask_mysqldb because my flask_mysqldb package is not working after updating pip

@andersonfernandes6998
6 months ago

thsks a lot!!

@xyzbladze4541
6 months ago

by any chance are you going to cover sqlite3 authentication too?

@veenagorasya6591
6 months ago

Very helpful, please share git repo link

@ShivamGupta-mj6bf
6 months ago

sir reactjs and tailwind css (UI) python fastapi restapi postgres se signup and login form banva dijiye please

@PriyaSingh-yq4gc
6 months ago

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

@polob7342
6 months ago

Hello, my command "pip3 install flask-mysqldb" not working, help me.

@rosanamauno9273
6 months ago

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.