-
1
He asked for demo (He himself told me the flow , like login as company , then approve as admin , ...)Times asked 2Official solution
SimpleDemo script pehle se practice: 5–7 min, Admin + User roles, saare mandatory features.
Suggested flow1) Register/login user
2) Admin login — CRUD
3) Approval/blacklist
4) Booking/apply + edge case
5) Search
6) LogoutViva tipBolte-bolte dikhao. Code tab kholna jab poochhein.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
2
Then he asked me to show the code for sending the approval mail (after a company is successfully approved by admin)Times asked 2Official solution
SimpleSMTP = Simple Mail Transfer Protocol — email bhejne ka standard. Flask-Mail / smtplib se reminders/reports.
Example
from flask_mail import Message msg = Message('Subject', recipients=[user.email]) msg.body = 'Hello' mail.send(msg)Viva tipViva mein MailHog/inbox dikhao. Port 587 TLS common; local pe MailHog 1025.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
3
Then he asked many pieces of code like where is this , that etc...Times asked 2Official solution
SimpleViva wrap-up hai. Short thanks + confirm submission ZIP latest hai.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
4
Then he asked me ports like what is 400, 401 , 200 , 403 etc....Times asked 2Official solution
SimpleViva wrap-up hai. Short thanks + confirm submission ZIP latest hai.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
5
Then he asked me to show the sent mail( he also approves if you show him already sent mails that you've tested and you can show that from your inbox)Times asked 2Official solution
SimpleSMTP = Simple Mail Transfer Protocol — email bhejne ka standard. Flask-Mail / smtplib se reminders/reports.
Example
from flask_mail import Message msg = Message('Subject', recipients=[user.email]) msg.body = 'Hello' mail.send(msg)Viva tipViva mein MailHog/inbox dikhao. Port 587 TLS common; local pe MailHog 1025.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
6
Have you used ai ( I coded the blueprint and routes myself and used ai to refine the code and generate the messages to be send in the mail) and he said okTimes asked 2Official solution
SimpleBlueprint se app ko modules mein todte ho — auth, admin, user alag files. Scale + clean structure.
Example
auth_bp = Blueprint('auth', __name__, url_prefix='/auth') @auth_bp.route('/login') def login(): ... app.register_blueprint(auth_bp)Viva tipViva: 'kyun blueprint?' → separation of concerns, badi app maintainable.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
7
He asked me to code the route to display all unapproved drivesTimes asked 2Official solution
SimpleViva wrap-up hai. Short thanks + confirm submission ZIP latest hai.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
8
Then he asked me to change the color and size of a buttonTimes asked 2Official solution
SimpleLive UI change: relevant CSS/HTML template kholo — color, margin, flex, bootstrap class. Save + hard refresh.
Example
/* button red */ .btn-primary { background: red; } /* center navbar item */ .navbar { justify-content: center; }Viva tipDevTools se pehle try, phir file mein permanent change.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
9
Finaly he asked...Times asked 2Official solution
SimpleViva wrap-up hai. Short thanks + confirm submission ZIP latest hai.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
10
What is MVCTimes asked 4Official solution
SimpleMVC = Model-View-Controller. Code ko 3 hisson mein baant ta hai taaki mix na ho.
Model: data + DB. models.py — User, Trek, Booking classes.
View: jo user dekhta hai. templates/*.html + Jinja.
Controller: beech ka logic. routes / app.py — request lo, model se data, view ko do.Example flow (register):
Browser form POST → Controller register() → User model save → redirect → View dashboard.htmlDraw: Browser → Controller → Model → DB, phir Controller → View → Browser.
ORM na ho to bhi MVC ho sakta hai — Model raw SQL functions ho sakte hain. Structure matter karta hai, library nahi.
MVP/MVVM doosri architectures hain; MAD1 mein MVC expected hai.Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet