Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (18 sloc) 952 Bytes

URL Shortener

This is a simple URL shortener written in CoffeeScript and Jade template language. It uses Redis for data storage.

How to use

  • Install dependencies

    npm install

  • Check the configuration

    By default, URL shortener app assumes redis-server at localhost:6379. However, it can be easily changed to other hosts or ports in

    Besides, the service is running at port 3000. You should change it to others to suit your needs.

  • Run the service

    The server-side is fully written in CoffeeScript. Run the server from coffee-script command-line:

    coffee app

    Compile scripts is another alternative:

    coffee -c *.coffee
    node app


The URL shortener also provides an API to retrieve short URLs for abitrary long URLs. See the index page on dev server for further description.