Project 3
Project 3
MENTOR-MR. PK BISHNOI
Team Members:
Kashish Lodha-190047
Neha Panwar-190061
ABSTRACT
The idea of the project is to minimize the web page address into something that's
easier to remember and track. A URL shortener service creates a short URL/tiny
URL against a long URL.
URL shortening is a technique on the World Wide Web in which a Uniform
Resource Locator (URL) may be made substantially shorter and still direct to the
required page.
URL Shorteners help website owners reduce the length of their unique web-page
address, making it easier to share the website on various platforms. This because
extremely crucial in cases where there is a limitation on the number of characters
that can be sent, like in a text message or social media post.
INTRODUCTION
Javascript
Nodejs
MySql /MongoDB
HTML
CSS
FLOW OF THE PROJECT
With the advancement in web based systems ,security is one of the major aspect
coming in through any form. The spamming of URL by making a bot attack a
website can cause the website to crash.So there should be a check on which URLs
are allowed to be shortened ,for eg. there should not be a URL which is invalid but
is in our DB as a shortened URL since the URL is not valid it should not be
shortened.
URL Input - The project should allow the user to enter a URL. The URL should be
a valid URL and the request to shorten the URL should not be possible unless and
until the user enters a valid URL based on semantics.
Check - If the entered URL is correct , on sending the shortened request, the
backend services should first verify the status code that is being returned by the
URL . If the status code is either 102 or is starting from 404 , the request should not
be made possible, since that would mean that it is probably just a scam and would
add another useless row to our shortened URLs table
METHODOLOGY
https://www.freecodecamp.org/news/mongodb-node-express-proj
ect/
https://en.wikipedia.org/wiki/URL_shortening