Skip to content

edocai/url-shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

URL Shortener

This is a URL shortening service built using TypeScript, Node.js, Express.js, and MongoDB.


Getting Started

Clone the repository:

  git clone https://github.com/yourusername/url-shortener.git

Install the dependencies:

  npm install

Start the development server:

  npm start

Access the application at http://localhost:5000

Features

Shorten long URLs into shorter, more manageable links Redirect shortened URLs to their original destination View statistics on clicks for each shortened URL

Technologies

TypeScript: A superset of JavaScript that adds optional types, making it easier to catch errors and improve code maintainability
Node.js: A JavaScript runtime that allows you to run JavaScript on the server-side
Express.js: A popular Node.js web framework for building web applications and APIs
MongoDB: A document-oriented NoSQL database used for storing the URLs and click statistics

Conclusion

This is a basic URL shortening service that demonstrates the use of TypeScript, Node.js, Express.js, and MongoDB. Feel free to use it as a starting point for your own projects or to extend its functionality.

Releases

No releases published

Packages

No packages published