Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 744 Bytes

File metadata and controls

23 lines (16 loc) · 744 Bytes

Using provided HTML please implement the following:

  1. Site-visitor (V) enters any original URL to the Input field, like http://anydomain/any/path/etc;
  2. V clicks submit button;
  3. Page makes AJAX-request;
  4. Short URL appears in Span element, like http://yourdomain/abCdE (don't use any external APIs as goo.gl etc.);
  5. V can copy short URL and repeat process with another link

Short URL should redirect to the original link in any browser from any place and keep actuality forever, doesn't matter how many times application has been used after that.

Requirements:

  1. Use PHP or Node.js;
  2. Don't use any frameworks.

Expected result:

  1. Source code;
  2. System requirements and installation instructions on our platform, in English.