Skip to content

transform longer URLs into manageable, meaning full, easy to remember short links

Notifications You must be signed in to change notification settings

mahirchavda/url-shortener

Repository files navigation

URL-Shortener

  • transform longer URLs into manageable, meaning full, easy to remember short links

Configure url mappings

  • Update url_mapping.regex and nicknames.json file inside config folder.

To avoid Server IP address in the URL, Add the below entry in the host file.

For Windows machine:
  1. Open C:\Windows\System32\Drivers\etc\hosts file in the editor as an admin.
  2. Append the below content in the file. Update SERVER_IP_ADDRESS with the actual Server address
# URL Shortener
SERVER_IP_ADDRESS go
  1. Save the file.

Start Dev Server

  1. First install python packages.
RUN pip install -r requirements.txt
  1. Start dev server
python app/app.py

Usage

Note: Users have to write https:// prefix only if the direct go/j/PROJ1-110 URL is not working, otherwise there is no need to write https:// prefix every time.

About

transform longer URLs into manageable, meaning full, easy to remember short links

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published