Skip to content

Instantly share code, notes, and snippets.

@Mikeysax
Last active October 5, 2021 19:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mikeysax/9401bd7322a1913b9e8cbe726c713de1 to your computer and use it in GitHub Desktop.
Save Mikeysax/9401bd7322a1913b9e8cbe726c713de1 to your computer and use it in GitHub Desktop.
Back-end Technical Assignment
Build a link shortener API using Ruby on Rails.
Definition: An API that can accept URLs and return shorter URLs that when used, redirect to the actual URL.
User Stories (Get as many done as possible):
As a user, I want to be able to create a new shortened link where I provide a url and it is shortened
As a user, when I click on a shortened link it will redirect me to the real url
As a user, I can create, through the API, an account using username and password
As a user, I can login, through the API, to my account to retrieve an API token which will be used for other requests
As a user, using the API token, I want to be able to create a new shortened link where I provide a url and it is shortened
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment