{"id":28936439,"url":"https://github.com/savankansagara1/url-shortner","last_synced_at":"2026-04-08T22:32:05.960Z","repository":{"id":298874415,"uuid":"1001273814","full_name":"savankansagara1/Url-Shortner","owner":"savankansagara1","description":"Url-shortner | Simplify, Share, and Track Your Links with Ease","archived":false,"fork":false,"pushed_at":"2025-06-13T12:07:01.000Z","size":92,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-11T03:59:04.831Z","etag":null,"topics":["api","dao-design-pattern","expressjs","fullstack-development","mern-stack","mongodb","mongodb-atlas","react-hooks","reactjs","redux-toolkit","restful-api","tailwindcss","tanstack","tanstack-react-query","tanstack-router"],"latest_commit_sha":null,"homepage":"https://url-shortner-mu-three.vercel.app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/savankansagara1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-06-13T05:35:56.000Z","updated_at":"2025-06-13T12:07:04.000Z","dependencies_parsed_at":"2025-10-11T03:57:13.148Z","dependency_job_id":"7a0d16c9-bf26-45f7-9983-4abc11f67ce5","html_url":"https://github.com/savankansagara1/Url-Shortner","commit_stats":null,"previous_names":["savankansagara1/url-shortner"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/savankansagara1/Url-Shortner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/savankansagara1%2FUrl-Shortner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/savankansagara1%2FUrl-Shortner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/savankansagara1%2FUrl-Shortner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/savankansagara1%2FUrl-Shortner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/savankansagara1","download_url":"https://codeload.github.com/savankansagara1/Url-Shortner/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/savankansagara1%2FUrl-Shortner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280665436,"owners_count":26369917,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-23T02:00:06.710Z","response_time":142,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","dao-design-pattern","expressjs","fullstack-development","mern-stack","mongodb","mongodb-atlas","react-hooks","reactjs","redux-toolkit","restful-api","tailwindcss","tanstack","tanstack-react-query","tanstack-router"],"created_at":"2025-06-22T20:23:23.144Z","updated_at":"2025-10-23T17:47:30.655Z","avatar_url":"https://github.com/savankansagara1.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🔗 URL Shortener App (MERN Stack)\n\n## 🚀 Overview\n\nThis is a **MERN stack URL Shortener** project with user authentication, backend API, and a responsive frontend. Built using **MongoDB**, **Express**, **React**, and **Node.js**, it allows users to register/login and generate shortened URLs for easier sharing.\n\n### Live App 👉 [https://url-shortner-mu-three.vercel.app/]\n\n---\n### 🎯 Features\n🔐 User Authentication: Secure login and signup using sessions/cookies.\\\n🌐 URL Shortening: Convert long URLs into short, unique codes.\\\n📈 Dashboard View: Users can manage and view all their shortened URLs.\\\n📤 Redirect Handling: Accessing a short URL automatically redirects to the original.\\\n🎨 Responsive UI: Clean, intuitive frontend built with React, Tailwind CSS, and Vite.\\\n⚙️ Backend API: RESTful API built with Express.js and connected to MongoDB Atlas.\\\n🔁 Session Support: Authentication state is managed via cookies (withCredentials setup).\n\n---\n\n## 🔧 Tech Stack\n\n### Frontend\n- React 19 + Vite\n- Tailwind CSS 4\n- Axios (with credentials)\n- Redux Toolkit + React Query\n- TanStack\n\n### Backend\n- Node.js + Express.js\n- MongoDB + Mongoose\n- express-session, bcrypt, dotenv, jwt\n- CORS with credentials setup\n\n---\n\n## 🛠️ Getting Started\n\n### 1️⃣ Clone the repository\n\n```bash\ngit clone https://github.com/your-username/url-shortener.git\n```\n---\n### 2️⃣ Setup Backend\n\n```bash\ncd backend\nnpm install\n```\n---\n```\nCreate a .env file in /backend:\n\nPORT=5000\nMONGO_URI=your_mongodb_connection_string\nSESSION_SECRET=your_secret_key\nFRONTEND_ORIGIN=https://your-frontend-url.vercel.app\n\nnpm run dev\n```\n---\n### 3️⃣ Setup Frontend\n```bash\ncd ../frontend\nnpm install\n```\n---\nCreate a .env file in /frontend:\n```\nVITE_BACKEND_URL=https://your-backend-url.onrender.com\nnpm run dev\n```\n## 🙋‍♂️ Author\nSavan Kansagara\\\n🔗 Linkdin: [https://www.linkedin.com/in/savan-kansagara/]\\\n✉️ Email: important.savan@gmail.com\n\n---\n### Let me know if you want:\n- `.env.example` files\n- Screenshots placeholders\n- Badges (build passing, deployed on vercel, etc.)\n- GitHub Pages support (for frontend only projects)\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsavankansagara1%2Furl-shortner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsavankansagara1%2Furl-shortner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsavankansagara1%2Furl-shortner/lists"}