Skip to content

charlesskariah/url-shortner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codeship Status for charlesskariah/url-shortner

This is a test application for shortening url's without using any gems in Ruby On Rails.

Also have complete test coverage as well using rspec.

Also you can find the number of clicks on this shortened url with this application dashboard.

Service is hosted at https://yoururl.herokuapp.com/

Also we have exposed an api for testing the functionality

Api For shortening url

BASE_URL: https://yoururl.herokuapp.com/

REQUEST TYPE : POST

REQUEST FORMAT : 'JSON(application/json)'

REQUEST URL : BASE_URL/links.json

Request body :

{ "link" : { "outgoing_url" : "https://github.com" } }

Request Response:

{ "original_url": "https://github.com", "shortened_url": "shorteningurl.herokuapp.com/a53eb18aa5" }

About

Rails application for shortening urls

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published