{"id":19065975,"url":"https://github.com/faizankhan298/urlshortener","last_synced_at":"2026-06-13T20:04:24.230Z","repository":{"id":246755341,"uuid":"822084443","full_name":"Faizankhan298/UrlShortener","owner":"Faizankhan298","description":"\"URL Shortener Application: This application is a user-friendly URL shortener built with Node.js, Express, MongoDB, and EJS for templating. Users can enter a URL to receive a shortened link, which redirects to the original URL. The application also tracks the number of times each shortened URL is accessed, providing valuable insights on link usage\"","archived":false,"fork":false,"pushed_at":"2024-07-22T13:46:02.000Z","size":134,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-02T14:24:44.157Z","etag":null,"topics":["backend-development","link-tracking","rest-api","templating-engine","url-redirection","url-shortener"],"latest_commit_sha":null,"homepage":"https://urlshortener-ngnj.onrender.com/","language":"EJS","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/Faizankhan298.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":"2024-06-30T09:15:16.000Z","updated_at":"2024-07-30T19:15:32.000Z","dependencies_parsed_at":"2025-01-02T14:24:39.167Z","dependency_job_id":"fe696348-1bdb-449e-a107-df3abeb660e0","html_url":"https://github.com/Faizankhan298/UrlShortener","commit_stats":null,"previous_names":["faizankhan298/urlshortener"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Faizankhan298%2FUrlShortener","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Faizankhan298%2FUrlShortener/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Faizankhan298%2FUrlShortener/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Faizankhan298%2FUrlShortener/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Faizankhan298","download_url":"https://codeload.github.com/Faizankhan298/UrlShortener/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240118421,"owners_count":19750491,"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":["backend-development","link-tracking","rest-api","templating-engine","url-redirection","url-shortener"],"created_at":"2024-11-09T00:53:53.602Z","updated_at":"2026-05-15T12:30:15.671Z","avatar_url":"https://github.com/Faizankhan298.png","language":"EJS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# URL Shortener Application\n\nThis application is a simple URL shortener built with Node.js, Express, MongoDB, and EJS for templating. It allows users to enter a URL to be shortened and provides a simplified link that redirects to the original URL. Additionally, it tracks the number of times each shortened URL is accessed.\n\n## Features\n\n- URL shortening: Users can submit a URL to receive a shortened version.\n- Access tracking: The application tracks how many times each shortened URL is accessed.\n- Responsive design: The application is styled to be responsive, making it accessible on various devices.\n\n## Technologies Used\n\n- **Node.js**: A JavaScript runtime built on Chrome's V8 JavaScript engine.\n- **Express**: A minimal and flexible Node.js web application framework.\n- **MongoDB**: A NoSQL database for storing URL mappings and access counts.\n- **EJS**: A templating language to generate HTML markup with plain JavaScript.\n- **CSS**: For styling the application.\n\n## Setup and Installation\n\n1. **Clone the repository**\n   ```bash\n   git clone \u003crepository-url\u003e\n2. **Navigate to the project directory**\n\n   ```bash\n   cd \u003cproject-directory\u003e\n3. **Install dependencies**\n\n   ```bash\n   npm install \n4. **Connect to MongoDB**\n   Ensure MongoDB is installed and running on your system. Update the connection string in the connectToMongoDB function if necessary\n   \n5. **CStart the application**\n\n   ```bash\n   npm start\n\nThe server will start running on http://localhost:8000.\n\n## Usage\n## Creating a Shortened URL\n\nNavigate to `http://localhost:8000` and enter the URL you wish to shorten in the provided form. Upon submission, the application will display the shortened URL.\n\n## Accessing a Shortened URL\n\nUse the shortened URL provided by the application in any web browser. The application will redirect you to the original URL and increment the access count.\n\n\n![Homepge](image2.png)\n![Homepge](image.png)\n\n\n## Contributing\n\nContributions to the project are welcome. Please follow the standard fork and pull request workflow.\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaizankhan298%2Furlshortener","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffaizankhan298%2Furlshortener","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaizankhan298%2Furlshortener/lists"}