The URL Shortener App is a Ruby on Rails application that allows users to shorten long URLs, making them more convenient to share. It provides a simple and efficient way to manage and track links while maintaining a user-friendly interface.
- Shorten long URLs into a user-friendly format.
- Track the number of times each shortened link is clicked.
- View the top 100 most clicked links.
- URL validation to ensure valid input.
Before you begin, ensure you have met the following requirements:
- Ruby (version 2.6.6)
- Ruby on Rails
- PostgreSQL
-
Clone the repository:
git clone https://github.com/salmanali23/url-shortener-app.git cd url-shortener-app
-
Install dependencies:
bundle install
- Create and migrate the database:
rails db:create
rails db:migrate
- Start the Rails server:
rails server