Ask A Question


You’re not receiving notifications from this thread.

URL Shortener Requirements Discussion

Adding the requirements here:

URL Shortener


  • [ ] Submit a url in a form on the homepage
  • [ ] Url is saved to the database
  • [ ] The URL can be viewed by accessing a Base62 encoded primary key ID (short code) of the URL at /v/:id
  • [ ] A user should be able to copy the short URL to the clipboard
  • [ ] When visiting the short code, a view is recorded so we can keep track of how many views per day a link gets
  • [ ] A total number of views should be saved to the URL record
  • [ ] A user should be able to view a graph of the views over the past 2 weeks
  • [ ] A user should be able to edit and delete the URL
  • [ ] We should also retrieve the title, description, and opengraph image for the HTML document
    • [ ] This should run in the background to keep the application fast
    • [ ] If a URL is edited, we should update the title, description, and image for it
  • [ ] We should paginate this list of shortened URLs

Amazing, thank you!

Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 77,200+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more.

    © 2023 GoRails, LLC. All rights reserved.