boddhisattva / url_shortener

A sample URL shortener app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README

Code Climate Test Coverage Circle CI

This is a basic URL Shortener app. This app also exposes an API to create a URL Shortener.

  • Ruby and Rails versions used are specified in the Gemfile

  • To run the application

    • bundle install from project root directory
    • Uses PostgreSQL as a default DB.
    • rake db:create & rake db:migrate
    • rails s to kick start the application
    • The accepted valid URI corresponds to the regex provided by standard URI library
  • Tests

    • Specs for controllers(for the web app and the API), models and helpers have been added
    • Integration specs are present in spec/requests
    • One can run the entire test suite with the rspec spec command

About

A sample URL shortener app


Languages

Language:Ruby 83.3%Language:HTML 13.5%Language:CSS 1.6%Language:JavaScript 1.6%