This Rails Application is a clone of TinyURL.
Features :
- It will allow users to submit a URL which will then be shortened and can be shared.
- When users click on the short URL they are redirected to the long URL.
- Track the IP address of each visit to a URL.
Here are some routes that can be accessed :
/ # home page where user can enter a URL /:token # redirects to full URL /:token/info # info about URL and visitor count /:token/info/edit # edit the url
Project setup :
1. bundle install - Install all gems
2. rails db:migrate - run all migration files
3. rails webpacker:install - This project run on rails 6.x version. starting from rails 6, webpacker is the default javascript compiler.
4. rails s