An open API service indexing awesome lists of open source software.

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.

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)