{"repo":"MehmoodCoder/Node","free":true,"listed":false,"github":"https://github.com/MehmoodCoder/Node","clone":"git clone https://github.com/MehmoodCoder/Node.git","description":"🔗 URL Shortener & Node.js Core App 🚀🔥 Built with Node.js, Express, MongoDB Atlas & EJS 🛠️ using MVC architecture! 🏗️ Includes Learning modules 📁 (fs, http server, versioning ⚡). Features JWT Auth 🔐, RBAC 🛡️ (Admin/User 👥), dynamic analytics 📈 & Vercel deployment! 🌐✨","language":"JavaScript","stars":16,"topics":["nodejs","npm","event-loops","fs","http-requests","nodejs-server","npm-packages","npm-scripts","thread-pool","threads"],"license":null,"category":"auth-billing-email","readme_excerpt":"🚀 URL Shortener Application — Node.js, Express, MongoDB & JWT (MVC Architecture) A full-featured, secure URL Shortener RESTful Web Application built using Node.js, Express.js, MongoDB (Mongoose) , and Server-Side Rendering (EJS). The project implements strict MVC Architecture , stateless JWT Authentication (via HTTP-Only Cookies) , and Role-Based Access Control (RBAC) . --- 🔥 Key Features & Implementation Highlights 🏗️ Clean MVC Architecture: Modular structure separating Models (Schemas), Views (EJS Templates), Controllers (Business Logic), and Middlewares/Services. 🔐 JWT Authentication: Stateless session management using JSON Web Tokens set in secure browser cookies. 🛡️ Role-Based Access Control (RBAC) Middleware: Normal Users: Can generate short URLs, view, manage, and track click analytics for only their own generated links . Admin Users: Possess elevated privileges to view and manage all generated URLs across the entire platform . 📈 Real-Time Click Analytics: Dynamic redirection tracking total visits and timestamps for each generated short URL. 🔒 Security & Best Practices: Middleware-level authorization checks, custom error handling, and environment-variable-ready ( .env ) configuration. --- 🛠️ Tech Stack & Tools Runtime: Node.js (v18+) Framework: Express.js Template Engine: EJS (Embedded JavaScript) Database: MongoDB (Local Community Server & Atlas Ready) ODM Library: Mongoose Utilities: nanoid, nodemon, cookie-parser, uuid, jsonwebtoken, dotenv API Testing: Post","default_branch":null,"files":null,"tree":[],"storefront":"/r/MehmoodCoder","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/MehmoodCoder/Node/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}