Skip to content

Link-Shortener repository is a software solution that allows users to create shorter, more manageable URLs from longer links. This can be useful for a variety of reasons, such as sharing links on social media platforms that have character limits, making links easier to remember and share, or tracking clicks and analytics for marketing purposes.

Notifications You must be signed in to change notification settings

tuanle03/Link-Shortener

Repository files navigation

Link Shortener

A simple application to shorten long URLs, similar to Bitly.

Features

  • Generate shortened links from long URLs.
  • Generate QRCode from shortened links.
  • Redirect to the original URL when a shortened link is clicked.
  • Basic statistics for each shortened link (number of clicks, etc.).

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Ruby on Rails installed on your computer.

Installation

  1. Clone the repository to your local machine
git clone https://github.com/tuanle03/Link-Shortener.git
  1. Change into the project directory
cd Link-Shortener
  1. Install the dependencies
bundle install
  1. Create the database
rails db:create
  1. Run the migrations
rails db:migrate
  1. Start the development server
rails s
  1. Open your browser and go to http://localhost:3000 to view the app.

Deployment

The app can be easily deployed to a hosting service such as Heroku or AWS. Please refer to their respective documentation for more information.

Built With

  • Ruby on Rails - Backend
  • SQLite3 - Database
  • Haml/CSS/JS - Frontend

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch
gcb [branch name]
  1. Add your file changes
git add [file change]
  1. Commit your Changes
git commit -m "message"
  1. Push to the Branch
gpsup
  1. Open a Pull Request

Author

Tuan Le

About

Link-Shortener repository is a software solution that allows users to create shorter, more manageable URLs from longer links. This can be useful for a variety of reasons, such as sharing links on social media platforms that have character limits, making links easier to remember and share, or tracking clicks and analytics for marketing purposes.

Topics

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published