Next.js Profile Incomplete Notification | Check User Profile from MySQL

Next.js Profile Incomplete Notification | Check User Profile from MySQL

T
Thapa Technical
Mar 8, 2026

📂 Source Code
👉 GitHub Repo: https://github.com/thapatechnical/job-portal-nextjs

----------------------------------------------------------------------------------
In this video of our Next.js Job Portal Application, we implement a feature that checks whether an applicant has completed their profile or not.

When users log in to their dashboard, we verify important profile fields like location, biography, experience, and resume upload from the database using MySQL, TypeScript, and Drizzle ORM.

If the profile is incomplete, we display a notification prompting the user to complete their profile and redirect them to the profile settings page. If the profile is already filled, the notification will not appear.

We also reuse the same function used earlier for pre-filling profile form data and use the JavaScript Double NOT (!!) operator to ensure strict boolean results.

This is a practical full-stack pattern used in real production applications.

Tech Stack used:
Next.js • TypeScript • MySQL • Drizzle ORM
------------------------------------------------------------------------------------
🔗 Useful Playlists

📘 Next.js Full Stack Playlist:
https://youtube.com/playlist?list=PLwGdqUZWnOp0lwvSBaIzzgV9X0ZiZ-42O&si=aQ_TNBNNx5L7V_bn

⚛️ React.js Playlist:
https://youtube.com/playlist?list=PLwGdqUZWnOp1Rab71vx2zMF6qpwGDB2Z1&si=sDZRxsYNetYmojKd

💻 TypeScript Playlist:
https://youtube.com/playlist?list=PLwGdqUZWnOp0xfHQFmlL52b_6-QZ0mnk_&si=c4jfsd5ElDC1p0A5
------------------------------------------------------------------------------------
💸 Get All My YouTube Videos' Source Code for just ₹199! Grab Now - https://thapatechnical.shop/source-code

📺 Watch the complete Node.JS Playlist here :https://youtube.com/playlist?list=PLwGdqUZWnOp3KELplHtc-RnJ5xTUPqdgH&si=_ob8F88HYxCdspup

🔥 Access Source Code, PPT & Notes here for Free : https://www.thapatechnical.com/2024/11/introduction-to-nodejs.html
------------------------------------------------------------------------

🚀 Boost Your Skills with these Pre-Requisite Videos:

🔗 Best HTML Course - https://youtu.be/5ccq_nLHneE
🔗 Best CSS Course - https://youtu.be/MSICFljRcb4
🔗 JavaScript Basics Course Part 1 - https://youtu.be/13gLB6hDHR8
🔗 JavaScript Advanced Course Part 2 - https://youtu.be/YwsOCN8woA8

------------------------------------------------------------------------
💸 Build Your Own E-commerce Website for Free! - https://www.thapatechnical.com/2024/03/build-complete-ecommerce-website-using.html

------------------------------------------------------------------------
✌️ Join Us!

🚀 Become a Member: Unlock perks, free source code, and more Join Now : https://www.youtube.com/channel/UCwfaAHy4zQUb2APNOGXUCCA/join
📷 Connect on Instagram: https://www.instagram.com/thapatechnical
🗨️ Join Our Discord Server: Hang out with fellow programmers Discord Link: https://discord.gg/MdScmCsua6

------------------------------------------------------------------------

⌛TIMELINE⏳
0:00 Profile Incomplete Notification Overview
0:16 Understanding What “Incomplete Profile” Means
1:30 Next Video Update
1:53 Support the Channel
2:05 Project Folder Structure
2:50 Function to Check Profile Completion
5:02 Fields We Need to Verify
6:10 Showing Notification with If / Else
6:32 Understanding !! Double NOT Operator
7:50 Fixing Redirect Link Issue
8:50 Next Video Update