Skip to content

URL SHORTENER is an application that allows users to enter a long URL and receive a shortened version in return. The shortened URL leads to the original site when clicked

License

Notifications You must be signed in to change notification settings

Gambit142/Url_Shortener

Repository files navigation

📗 Table of Contents

📖 URL SHORTENER

URL SHORTENER is an application that that allows you to enter a long URL and receive a shortened version in return. It is convenient it looks streamlined in appearance. You can also create your custom endpoint.

🛠 Built With

Tech Stack

Mainly Ruby on Rails with StimulusJS.

Framework
Server
Database

Key Features

  • It shortens long urls and returns a short one
  • Users can create their custom endpoint (shortened url)

(back to top)

💻 Getting Started

To get a local copy up and running, follow these steps.

Prerequisites

In order to run this project you need:

Setup

Clone this repository to your desired folder:

  cd my-folder
  git clone git@github.com:Gambit142/Url_Shortener.git
  cd Url_Shortener

Install

Install this project with:

bundle install

Database creation

Next, use this command to create the databases:

rails db:create

Run Migrations

Next, use this command to run the migration files:

rails db:migrate

Usage

To run the project, execute the following command:

  rails server

(back to top)

👥 Authors

👤 Author

(back to top)

🔭 Future Features

  • Have a way to get the metrics of most clicked links and other metrics
  • Use CanCanCan for Authorization so that users can only see shortened urls they created
  • Set duration for how long a link is valid

(back to top)

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

📝 License

This project is MIT licensed.

NOTE: we recommend using the MIT license - you can set it up quickly by using templates available on GitHub. You can also use any other license if you wish.

(back to top)

About

URL SHORTENER is an application that allows users to enter a long URL and receive a shortened version in return. The shortened URL leads to the original site when clicked

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published