Giter Club home page Giter Club logo

url-shortener's Introduction

image of the aplication

URL Shortener in TypeScript

This project is a simple URL shortener created to familiarize myself with TypeScript. It allows you to shorten long URLs and share them with others more easily.

Features

  • Shortens long URLs to shorter, more memorable URLs.
  • Displays the original URL when the short URL is clicked.
  • Soon: Tracks the number of clicks on each short URL.

Requirements

  • Node.js 16+
  • npm or yarn

Installation

  1. Clone the repository:
git clone https://github.com/valenciaDev74/url-shortener.git
  1. Navigate to the project directory:
cd url-shortener
  1. Install the dependencies:
npm install || yarn install

Running

  1. Start the dev server:
npm run dev || yarn dev
  1. Access the application in your web browser:
http://localhost:3000

Compile

  1. Compile to Javascript:
npm run dev || yarn dev

Usage

  1. Enter the URL you want to shorten in the text field.
  2. Click the "Shorten" button.
  3. You will be shown a short URL. You can copy it and share it with others.

Implementation

The project is implemented using TypeScript and the following libraries:

  • Express: Web framework for Node.js
  • MongoDB: NoSQL database to store shortened URLs (optional)

Contributions

Contributions to this project are welcome. If you find a bug or have a suggestion, please create an issue on GitHub.

License

This project is under the MIT license.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.