Skip to content

peppesilletti/coffiURL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#coffiURL - URL shortener

A URL shortener is an online application that converts a regular URL (the web address that starts with http://) into its condensed format. The user only has to copy the full URL of a website and paste it into the URL shortening tool to come up with an abbreviated version that is around 10 to 20 characters long.

CoffiURL is a URL shortener implemented with a back-end in Java, a front-end in AngularJS and with Redis as persistence system.

#How to install

  1. Clone the repository from Github:
    git clone http://github.com/peppesilletti/coffiURL.git

  2. Move inside the folder coffiURL and build the docker image with the Dockerfile with:
    docker build -t url-shortener .

  3. Run the container
    docker run -d -p 8080:8080 --name coffiURL url-shortener

  4. If you are a Linux user, skip this step. Otherwise, you need to map the 8080 port in VirtualBox

#How to use

Open your favourite browser and digit 'http://localhost:8080' for the home page. For the statistics page of a shortURL, write 'http://localhost:8080/shortURL$'. Without the $, you will be redirect to the original web site.

#How to use api

toTime e fromTime sono in formato timestamp

#Developer

Giuseppe Silletti - <sillettig@gmail.com>

About

An URL shortener

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published