Skip to content

rafimd422/url-shortner

Repository files navigation

🔗 Rails URL Shortener

A simple Ruby on Rails application that shortens long URLs and generates short redirectable.


📂 Project Setup

✅ Prerequisites

  • Ruby (>= 3.2)
  • Rails (>= 7)
  • Bundler (gem install bundler --user-install)
  • SQLite3 (for development)

🛠️ To Run Locally

  1. Clone the repository
git clone https://github.com/your-username/url-shortener.git
cd url-shortener
  1. Install dependencies locally
bundle install --path vendor/bundle
  1. Set up the database
bundle exec rails db:create db:migrate
  1. Start the development server
bundle exec rails server

Then visit 👉 http://[::1]:3000

About

An url shortner written using ruby on rails.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published