Skip to content

The URL Shortener project is a powerful tool for creating shortened URLs that are more concise and user-friendly.

Notifications You must be signed in to change notification settings

Laxus8120/Url_Shortner_web_Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

URL Shortner Web Applicaiton lemon Technology

Project Setup

Clone the Project . Execute npm install on the same path of your root directory of the downloaded Project.

Create a .env file in the root directory and add the following enviroment variable .

PORT = 3000

Running Screen Shot of Project

Screenshot 2023-02-04 164147

How Working is Done -

Dependencies we used to make project work .

"dependencies": {
    "dotenv": "^16.0.3",    //dotenv it helps to create the enviroment variable
    "ejs": "^3.1.8",        //EJS simply stands for Embedded Javascript, let us generate HTML with plain javascript
    "express": "^4.18.2",   // Lets us create a web application framework. 
    "mongoose": "^6.9.0",   // It is ODM for for MongoDB
    "nodemon": "^2.0.20",   // let's server run automatically after every changes we done in server files.
    "shortid": "^2.2.16"    // Package to generate the shortId for our longId.
    }

FOLDERS ARCHITECTURE

config folder let us hide the Confidentail data using dotenv.

models folder let create our database schema and database.

src folder consist of our server file.

view fodler consist of our .ejs file for frontend UI and styling .

About

The URL Shortener project is a powerful tool for creating shortened URLs that are more concise and user-friendly.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published