Build a Project using Node.js, Express JS & MySQL🔥

Build a Project using Node.js, Express JS & MySQL🔥

T
Thapa Technical
Feb 3, 2025

In this video, we will build a URL Shortener from scratch using Node.js, Express, and MySQL! 🚀 You'll learn how to connect Node.js with MySQL, create a database, insert and retrieve short links, handle errors, and display data in the UI. By the end, you’ll have a fully functional URL shortener ready to deploy!

💸 Get All My YouTube Videos' Source Code for just ₹249! 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 - Intro to URL Shortener Project
0:14 - Overview of the Project
1:55 - Folder Structure Explained
3:30 - Connecting Node.js with MySQL
6:45 - Creating a Database in MySQL Using Node.js
9:15 - Creating a Table for the Project
10:30 - Quick Recap of What We've Done
14:00 - Fetching Data from MySQL DB Using Node.js
16:00 - Inserting User’s URL Data into MySQL
18:45 - Checking If Data Already Exists in MySQL
24:40 - Calling Function to Add Data in MySQL
27:05 - Handling Errors in the Project
31:40 - Looping URL Shortener Data in the UI
33:50 - Quick Recap