Skip to content

cp/GrURL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GrURL

A simple URL shortening API built with Grape. Backed by Redis. Reads and writes are as fast as 30ms on my quad core Macbook.

Endpoints

  • POST: '/' Takes url and key as paramaters, with the key being optional. If the key is not provided, it will create a unique one.
  • GET '/:key' Redirects to the long URL.
  • GET ':key/info' Find info including click count.

Installing

$ bundle install

$ rackup

About

A simple URL shortening API with Grape and Redis.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages