URL Shortener

Description

A URL shortener that, when given a url, provides a unique short url that directs to the original link.


Instructions

$ npm install $ mongod $ mongo $ npm run dev $ npm start

Testing

run $ npm test


Technology Used

  • React.js

  • Mongodb

  • Express

  • Node

  • Testing Framework: Jest and Enzyme

User Stories

As a user,
so I can shorten a url,
I want to be able to enter a url on the site.
As a user,
So that I know my short URl,
I want the short URL to be displayed on the site.
As a user,
So that I only enter a correct URL,
I want to receive an error if I enter an incorrect URL.
As a user,
So that I do not end up with a link to another page,
I want my short URL to be unique to my long URL.