Coder Social home page Coder Social logo

tuanle03 / link-shortener Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 86 KB

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.

Ruby 73.43% JavaScript 3.37% CSS 2.48% HTML 12.47% Haml 8.25%
haml javascript rails ruby

link-shortener's Introduction

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

link-shortener's People

Contributors

tuanle03 avatar dependabot[bot] avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.