Skip to content

This is a lightweight URL shortener built using Flask, a micro web framework for Python. The application allows users to generate short aliases for long URLs, making it easy to share links in a concise and user-friendly manner.

Notifications You must be signed in to change notification settings

soopertramp/url-shortner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

URL-Shortener Application

alt-text

This is a lightweight URL shortener built using Flask, a micro web framework for Python. The application allows users to generate short aliases for long URLs, making it easy to share links in a concise and user-friendly manner.

Features:

  URL Shortening: Quickly create short aliases for long URLs.
  Redirection: Users are redirected to the original URL when they access the shortened link.
  Customizable Aliases: Choose custom aliases for your shortened URLs.

Flask

  1. Create a project required environment
  2. Install a pipenv
    pip3 install pipenv
    
  3. To create virtual env for project
    pipenv install 
    

Note: it will Creating a virtualenv for this project… and it will create the pipfile.lock for [dev-packages] and [packages].

  1. To activate this project's virtualenv, run
    pipenv shell
    
  2. Create project in flask and install
    pipenv install flask
    
  3. Go to the your virtualenv in command prompt for windows
    set FLASK_APP=urlshort
    
    Note: Go to the your virtualenv in terminal for windows
    export FLASK_APP=urlshort
    
  4. Run the flask app
    flask run
    
  5. How to move on to the flask app to production to development in command prompt
    set FLASK_ENV=development
    
  6. Then run app
    flask run
    

Credits - Nick Walter for his amazing course on linkdein learning.

About

This is a lightweight URL shortener built using Flask, a micro web framework for Python. The application allows users to generate short aliases for long URLs, making it easy to share links in a concise and user-friendly manner.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published