Skip to content

Instantly share code, notes, and snippets.

@Mikeysax
Last active October 5, 2021 19:28
Show Gist options
  • Save Mikeysax/9401bd7322a1913b9e8cbe726c713de1 to your computer and use it in GitHub Desktop.
Save Mikeysax/9401bd7322a1913b9e8cbe726c713de1 to your computer and use it in GitHub Desktop.

Revisions

  1. Michael Farrell revised this gist Oct 5, 2021. 1 changed file with 4 additions and 3 deletions.
    7 changes: 4 additions & 3 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -6,11 +6,12 @@ Definition: An API that can accept URLs and return shorter URLs that when used,

    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

    As a user, when I click on a shortened link it will redirect me to the real url

  2. Michael Farrell created this gist Oct 5, 2021.
    16 changes: 16 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    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 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

    As a user, when I click on a shortened link it will redirect me to the real url