Backend-I: Building LeetCode Clone UserSchema | MERN
*LeetCode Clone Lecture-3 :* Building our *Complete Backend!* In this *1-Hour Deep Dive,* We move past the *Basics* and *Dive into Setting Up our Core Infrastructure.* *Backend-I : UserSchema | Mongoose Connect | Avatar, Premium & Forgot Password | Express, Node.js, MongoDB* We start by *Setting Up Our Express Server,* handling crucial *Errors (like the Execution Policy Issue on Windows),* and *Connecting* to our *MongoDB Database using Mongoose.* The main focus is on *Creating a Robust* and *Secure User Schema* that is *Production-Ready,* including fields for *Premium Features,* *Avatar/Profile Photos* (Ready for *Cloudinary Integration),* and the necessary fields for *Password Reset/Forgot Password* Functionality. Don't Just Code— *Build a Scalable System!* 👇 ____________________________ ⏱️ *Video Roadmap & Timestamps:* 00:00 *Welcome to My Channel* 00:08 *Intro: Lecture-3 Backend User Schema* 01:20 *Start Backend Project Setup* 04:35 *Error: npm PS1- cannot be loaded because running script is disabled in this system* 04:55 *Solution: In powershell type - set-executionpolicy unrestricted* 07:18 *npm i express* 10:17 *HTTP Status Codes* 12:50 *Review JSON format* 13:48 *javaScript Naming Convention* 15:45 *Express Server setup or connection* 21:34 *npm i dotenv - Setup Environmental variable* 26:00 *Start the Server* 26:30 *localhost:3000* 27:15 *node vs nodemon which is better* 29:25 *setup start script in package.json* 32:00 *npm i mongoose* 34:50 *Database Connection* 50:00 *Create Secure User Schema* 55:35 *Premium feature Schema* 56:35 *Avatar or profile photo Schema using Cloudinary* 58:10 *Forgot Password Schema* 58:50 *Timestamps* 01:00:00 *Creating User table* 01:01:40 *Have Questions?* Drop them in the *Comments Below!* 01:01:46 *Thanks For Watching...* ____________________________ 🛠️ *Full Project Tech Stack:* *Core MERN:* MongoDB, Express.js, React, Node.js, Mongoose *Frontend/UI:* React, Redux, Tailwind CSS, Vite, Axios, Monaco Code-Editor *Auth/Security:* JWT Auth, Bcrypt.js, HTTP-Only Cookies *Advanced Features:* Judge0 API, Redis Queue, Google GEMINI AI (LLM), Razorpay/Stripe Payments, Cloudinary *DevOps/Deployment:* Git & GitHub, CI/CD (GitHub Actions), Docker, AWS Cloud, Vercel-Heroku/Render ____________________________ 🔗 *Project References & Links:* *MongoDB:* https://www.mongodb.com/ *Express:* https://expressjs.com/ *Nodejs:* https://nodejs.org/en *Mongoose:* https://mongoosejs.com/ *Postman:* https://www.postman.com/ *Cloudinary:* https://cloudinary.com/ ____________________________ 💡Don't Forget to *Like The Video* and *Subscribe To My Channel:* https://www.youtube.com/@SkyHub399 So You *Don't Miss The Next Part!* ✅ *Socials: Follow Us to Build Together* 📷 *Instagram:* https://www.instagram.com/skyhub399 👨💻 *YouTube:* https://www.youtube.com/@SkyHub399 📩 *E-mail:* *[email protected]* ____________________________ *Made With ❤️ (:* *Thank You For Watching 👀* #backend #nodejs #expressjs #mongodb #mongoose #userschema #backenddevelopment #fullstack #expressserver #databaseconnection #codingtutorial #javascript #premiumfeature #forgotpassword #avatar
Download
1 formatsVideo Formats
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.