Skip to content

Shortener is a service for creating short URLs, allowing you to share links more easily and compactly. This project uses ExpressJS for the backend server and HTML/CSS/JavaScript for the user interface.

License

Notifications You must be signed in to change notification settings

SazumiVicky/shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shortener is a service for creating short URLs, allowing you to share links more easily and compactly. This project uses ExpressJS for the backend server and HTML/CSS/JavaScript for the user interface.

Features

  • Allows users to input long URLs and convert them into short URLs.
  • Redirects users to the original long URL when visiting previously created short URLs.
  • Stores short and long URL data in a JSON database file.

Installation

  1. Ensure you have Node.js installed on your computer.
  2. Clone this repository to your computer.
  3. Open a terminal or command prompt, then navigate to the repository directory.
  4. Run the command npm install to install the required dependencies.

Usage

  1. Run the application by executing the command node server.js in the terminal.
  2. Open a web browser and visit http://localhost:8080.
  3. You will be presented with a form to input a long URL.
  4. Enter your long URL and click the "Shorten" button to create a short URL.
  5. Copy the generated short URL and use it as needed.

Contributing

Contributions in the form of pull requests are highly appreciated. Be sure to open an issue first to discuss the changes you wish to make.

License

This project is licensed under the MIT License.

About

Shortener is a service for creating short URLs, allowing you to share links more easily and compactly. This project uses ExpressJS for the backend server and HTML/CSS/JavaScript for the user interface.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published