The URL Shortener Application is a simple and efficient web app built using Angular and styled with Bootstrap. It allows users to input long URLs and generate shortened links instantly. The app also features a copy button for convenient one-click copying of the shortened URL.
- Enter Long URL: Input a valid URL to shorten.
- Shorten URL: Generate a shortened version of the URL with a single click.
- Copy URL: Easily copy the shortened URL to your clipboard.
- Responsive Design: Optimized for all screen sizes with a modern UI.
- Frontend Framework: Angular
- Styling: Bootstrap 5
- Clipboard Functionality: ClipboardJS
- Node.js (v14 or later)
- Angular CLI
- npm
-
Clone the repository:
git clone https://github.com/your-repo/url-shortener.git cd url-shortener -
Install dependencies:
npm install
-
Start the development server:
ng serve
-
Open your browser and navigate to:
http://localhost:4200
- Enter the long URL in the input field.
- Click the Shorten button to generate a shortened link.
- Copy the shortened URL using the Copy button.
url-shortener/
├── src/
│ ├── app/
│ │ ├── shortener/
│ │ │ ├── shortener.component.html
│ │ │ ├── shortener.component.ts
│ │ │ ├── shortener.component.css
│ │ └── app.module.ts
│ ├── assets/
│ └── styles.css
├── angular.json
├── package.json
└── README.md
This project is licensed under the MIT License. See the LICENSE file for details.