https://github.com/charith0901/url_shortner
URL Shortener converts long URLs into short, shareable links. It stores mappings in a database and redirects short URLs to their original destinations. Features can include analytics, expiration dates, and user authentication.
https://github.com/charith0901/url_shortner
html ruby ruby-on-rails tailwindcss
Last synced: about 1 month ago
JSON representation
URL Shortener converts long URLs into short, shareable links. It stores mappings in a database and redirects short URLs to their original destinations. Features can include analytics, expiration dates, and user authentication.
- Host: GitHub
- URL: https://github.com/charith0901/url_shortner
- Owner: charith0901
- Created: 2025-03-03T11:58:59.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-13T20:37:14.000Z (over 1 year ago)
- Last Synced: 2025-03-13T21:34:16.972Z (over 1 year ago)
- Topics: html, ruby, ruby-on-rails, tailwindcss
- Language: HTML
- Homepage:
- Size: 207 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# URL Shortener
A simple and efficient URL shortener application built with Ruby on Rails and Tailwind CSS.
## Features
- Shorten long URLs
- Retrieve original URLs
- Responsive UI with Tailwind CSS
## Technologies Used
- **Backend:** Ruby on Rails
- **Database:** Sqlite3
- **Frontend:** Tailwind CSS
## Installation
### Prerequisites
- Ruby (>=3.0)
- Rails (>=7.x)
### Steps
1. Clone the repository:
```sh
git clone https://github.com/charith0901/URL_SHORTNER.git
cd URL_SHORTNER
```
2. Install dependencies:
```sh
bundle install
```
3. Set up database:
```sh
rails db:create db:migrate
```
4. Build Tailwindcss:
```sh
rails tailwindcss:build
```
5. Run the application:
```sh
rails server
```
## Usage
- Open `http://localhost:3000` in your browser.
- Use the provided input box to shorten URLs.
## Author
[Charith](https://github.com/charith0901)