AmulyaParitosh / UrlShortener

URL Shortener is a project that shortens the URL and provides a unique short code for each URL. It is a simple project that can be used to shorten the URL even with custom code and use it in the place of the original URL.

Home Page:https://urlshortener.amulyaparitosh.in/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

URL Shortener

Status License Link


URL Shortener is a project that shortens the URL and provides a unique short code for each URL. It is a simple project that can be used to shorten the URL even with custom code and use it in the place of the original URL.

πŸ“ Table of Contents

🧐 About

This project is a simple URL shortener that shortens the URL and provides a unique short code for each URL. It is a simple project that can be used to shorten the URL even with custom code and use it in the place of the original URL. It uses firebase to store the URL and the short code in a mapping.

The project is developed using FastAPI which is a modern, fast (high-performance), web framework for building APIs with Python 3.6+ based on standard Python type hints.

A very Simple front end is also provided to shorten the URL which is developed using FastUI.

🏁 Getting Started

Prerequisites

  • Python 3.11
  • Poetry
  • Docker

Installing

Follow these steps to install the project on your local machine.

1. Clone the repository

git clone https://github.com/AmulyaParitosh/UrlShortener.git

2. Change the working directory

cd UrlShortener

3. Install the dependencies

poetry install

4. Run the server

poetry run uvicorn main:app --reload

Or with Docker

docker-compose up

5. Open the browser and go to http://localhost:8000

image

⛏️ Built Using

About

URL Shortener is a project that shortens the URL and provides a unique short code for each URL. It is a simple project that can be used to shorten the URL even with custom code and use it in the place of the original URL.

https://urlshortener.amulyaparitosh.in/

License:MIT License


Languages

Language:Python 94.4%Language:Dockerfile 5.6%