Skip to content

denizdagli/Shorty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shorty

Shorty is a web application for creating short URLs that redirect to long URLs. It's built with Node.js, Express.js, and MongoDB.

Features Create short URLs that redirect to long URLs

Installation Clone the repository: git clone https://github.com/your-username/shorty.git

Install dependencies: npm install

Create a .env file in the root directory of the project and add the following variables:

PORT=3000 DB_HOST=localhost DB_PORT=27017 DB_NAME=shorty

Start the server: npm start Usage Open your web browser and go to http://localhost:3000 Enter a long URL in the input field and click the "Shorten" button Copy the generated short URL and use it to redirect to the long URL

image image image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published