How to Track Who Applied for Which Job? (Next.js + MySQL + Drizzle)

How to Track Who Applied for Which Job? (Next.js + MySQL + Drizzle)

T
Thapa Technical
Mar 3, 2026

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

----------------------------------------------------------------------------------
In this video, we build the Job Application table schema for our full Job Portal Application using Next.js, MySQL, and Drizzle ORM.

You will learn:

• How to track which applicant applied for which job
• How to design a proper junction table (job_applications)
• How to define foreign key relationships with jobs, applicants, and resumes
• How to generate and migrate schema using Drizzle
• How to create Zod validation schema for job application data

This is a very important backend design concept because it resolves a many-to-many relationship between jobs and applicants.

If you are building real-world full-stack projects, this video will clarify how production systems track applications.

👉 Next videos will cover full apply flow + UI integration.
------------------------------------------------------------------------------------
🔗 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 Introduction – Job Application Table & Zod Schema
0:18 Understanding Complete Apply Flow
1:45 Support the Channel
2:05 Problem – How to Track Applications?
4:10 Creating job_applications Table (Drizzle)
8:25 Defining Relationships with Jobs, Applicants & Resumes
10:45 Generate & Migrate Schema
11:40 Zod Validation Schema for Job Application
13:30 What’s Coming in Next Video