som4ik / EMT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README

To run the app:

git clone "git@github.com:som4ik/EMT.git"

cd EMT
bundle
rake db:create db:migrate

start server

thin start

post curl ex:

curl -x POST --data "longUrl=https://chrome.google.com/webstore/detail/postman/fhbjgbiflinjbdggehcddcbncdddomop/related?hl=en}{Y|/|" "http://localhost:3000"

answer:

{"url":"http://localhost:3000/fd8bc3fc8d"}

##get on given url

curl "http://localhost:3000/fd8bc3fc8d"

and it's good to go.

About


Languages

Language:Ruby 82.6%Language:HTML 13.1%Language:JavaScript 2.7%Language:CSS 1.6%