A simple Ruby on Rails application that shortens long URLs and generates short redirectable.
- Ruby (>= 3.2)
- Rails (>= 7)
- Bundler (
gem install bundler --user-install) - SQLite3 (for development)
- Clone the repository
git clone https://github.com/your-username/url-shortener.git
cd url-shortener- Install dependencies locally
bundle install --path vendor/bundle- Set up the database
bundle exec rails db:create db:migrate- Start the development server
bundle exec rails serverThen visit 👉 http://[::1]:3000