Skip to content
URL shortening service with automatic redirects. Written in React + Meteor
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.meteor
client
imports
server
tests
.gitignore
README.md
mobile-config.js
package-lock.json
package.json

README.md

Url Shortener

The project

A url shortening service

On the web: https://basic-url-shortener.herokuapp.com

Android app: <>

This is a url shortening service with Meteor Backend and React frontend.

Enter a url in the input box and press enter. Voila! Your url is saved and a shortened version is displayed. A list of all root domains is also displayed.

You can filter by domain simply by clicking on a domain button.

Installing and running the project

  1. Install meteor by following the instructions on the meteor site: https://www.meteor.com/install
  2. Clone this repo
  3. cd into the project directory on your command line and issue the command meteor npm install
  4. After the installation, start the application by issuing the command meteor
  5. Go to http://localhost:3000 to view your project.
  6. To view in another port use meteor --port <port_number>

Assignment requirements checklist

Mandatory requirements

  1. The frontend web application displays a URL input form for users to enter a long URL, and open submitting the form a shortened URL is registered and displayed. It is implemented in React.js
  2. The matching backend persists the data and handles redirect. It is implemented with Meteor.js

Additional requirements

  1. Statistics about the number of shortened URLs and the number of unique domains is displayed.

  2. A few tests is written for the app and can be run with the following command meteor test --once --full-app --driver-package meteortesting:mocha

  3. Five improvements

    1. The system maintains a collection of unique root domains.
    2. Filter URLs by their root domains and display associated statistics.
    3. It is possible to create an android and iOS build of the application.
  4. A docker image is not included, but the app is accessible here https://basic-url-shortener.herokuapp.com

You can’t perform that action at this time.