{"id":25481639,"url":"https://github.com/imperviousdeveloper/url-shortner-react","last_synced_at":"2026-04-15T16:02:36.551Z","repository":{"id":277769423,"uuid":"933435537","full_name":"ImperviousDeveloper/url-shortner-react","owner":"ImperviousDeveloper","description":"An efficient and modern URL Shortener application","archived":false,"fork":false,"pushed_at":"2025-02-16T00:52:46.000Z","size":785,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-16T01:18:43.420Z","etag":null,"topics":["react","spring-boot"],"latest_commit_sha":null,"homepage":"https://imperviousdeveloper.github.io/url-shortner-react/","language":null,"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/ImperviousDeveloper.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}},"created_at":"2025-02-16T00:04:45.000Z","updated_at":"2025-02-16T01:07:27.000Z","dependencies_parsed_at":"2025-02-16T01:28:49.626Z","dependency_job_id":null,"html_url":"https://github.com/ImperviousDeveloper/url-shortner-react","commit_stats":null,"previous_names":["imperviousdeveloper/url-shortner-react"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImperviousDeveloper%2Furl-shortner-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImperviousDeveloper%2Furl-shortner-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImperviousDeveloper%2Furl-shortner-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ImperviousDeveloper%2Furl-shortner-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ImperviousDeveloper","download_url":"https://codeload.github.com/ImperviousDeveloper/url-shortner-react/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239513379,"owners_count":19651322,"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","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":["react","spring-boot"],"created_at":"2025-02-18T16:49:46.719Z","updated_at":"2025-11-06T23:30:27.092Z","avatar_url":"https://github.com/ImperviousDeveloper.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🌐 URL Shortener Application\n\n## 🚀 Introduction\n\nThe **URL Shortener Application** is a sleek and modern web solution built with **React** on the frontend and **Spring Boot** on the backend. This application allows users to shorten long URLs into more manageable links and track the number of visits for each shortened URL.\n\n## ✨ Features\n\n- 🔗 Generate short URLs instantly\n- 📊 Track the number of clicks on shortened URLs\n- 🧑‍💻 REST API for URL shortening and analytics\n- 🌍 Customizable short links (optional feature)\n- 🏎️ Lightning-fast performance with React \u0026 Spring Boot\n\n## 🛠️ Tech Stack\n\n### Frontend\n\n- React\n- React Router\n- Axios\n- TailwindCSS \n\n### Backend\n\n- Spring Boot\n- Spring Data JPA\n- Hibernate\n- PostgreSQL (or H2 for local development)\n- Lombok\n\n## 📦 Installation \u0026 Setup\n\n### Prerequisites\n\n- Java 17+\n- Node.js \u0026 npm\n- PostgreSQL (or Docker if preferred)\n\n### Backend Setup\n\n```bash\ncd backend\n./mvnw clean install\n./mvnw spring-boot:run\n```\n\n### Frontend Setup\n\n```bash\ncd frontend\nnpm install\nnpm start\n```\n\n## 🧑‍💻 API Endpoints\n\n| Method | Endpoint              | Description                     |\n|--------|------------------------|----------------------------------|\n| POST   | /api/v1/shorten        | Shorten a URL                   |\n| GET    | /api/v1/{shortCode}    | Redirect to the original URL    |\n| GET    | /api/v1/stats/{shortCode} | Get visit count for a short URL |\n\n## ⚙️ Environment Variables\n\nCreate a `.env` file in both `backend` and `frontend` directories:\n\n### Backend `.env`:\n\n```env\nDATABASE_URL=jdbc:postgresql://localhost:5432/url_shortener\nDATABASE_USERNAME=your_db_user\nDATABASE_PASSWORD=your_db_password\n```\n\n### Frontend `.env`:\n\n```env\nREACT_APP_API_BASE_URL=http://localhost:8080/api/v1\n```\n\n## 🖼️ Screenshots\n\n![Homepage](https://via.placeholder.com/600x300?text=Homepage+Screenshot)\n![Shortened URL](https://via.placeholder.com/600x300?text=Shortened+URL+Screenshot)\n\n## 🧪 Testing\n\n- Frontend Unit Tests with Jest \u0026 React Testing Library\n- Backend Tests with JUnit \u0026 MockMVC\n\n## 🚀 Future Enhancements\n\n- ✅ User Authentication for personalized URL tracking\n- ✅ Custom domain support for short URLs\n- ✅ QR code generation for short links\n- ✅ Expiry dates for short URLs\n\n## 🤝 Contributing\n\nContributions are welcome! Feel free to fork the repository and open a pull request.\n\n## 📫 Contact\n\n- **Email:** [mr.sharmajeerajan@gmail.com](mailto:mr.sharmajeerajan@gmail.com)\n\n- **LinkedIn:** [LinkedIn Profile](https://www.linkedin.com/in/rajan-kumar-sharma-709a17229/)\n\n---\n\n\u003e \"Great software is built by passionate developers.\"\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimperviousdeveloper%2Furl-shortner-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimperviousdeveloper%2Furl-shortner-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimperviousdeveloper%2Furl-shortner-react/lists"}