Skip to content

A cute URL shortener made with Flask, Jinga2 with pipenv as the python environment. (Pair programming)

Notifications You must be signed in to change notification settings

shedp/pythonURLShortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shorten Ur URL

A URL shortener for people who like pink 💗💋💟

This is a pair programming task made with Flask, Jinga2 with pipenv as the python environment.

Installation and Usage

Installation

  • Git clone or download the repo.
  • Enter a virtual environment using pipenv shell
  • Once in the virtual environment, install the dependencies using pipenv install

Usage

  • pipenv run dev or flask run to run the server
  • Go the http://127.0.0.1:5000/ on your browser
  • Enter your desired URL to be shortened and click 'shorten URL'

Technologies

Languages

  • Python
  • Javascript

Backend

  • Flask
  • SQLAlchemy
  • Pipenv

Frontend

  • Jinga2
  • HTML
  • CSS

Wins

Copy to Clipboard:

  • Was achieved using navigator.clipboard.writeText, something we had not used before.
  • Turning the typical tech blue and greys into colourful pink! (So cute!)

Challenges

  • Difficulty switching between Python and the famililar Javascript
  • Writing the python logic to generate a random string id
  • Validation in the backend for non valid url entries (still created in backend database)

Contributors

@shedp 👩‍💻 @PollyFenne 👩‍💻

License: MIT

About

A cute URL shortener made with Flask, Jinga2 with pipenv as the python environment. (Pair programming)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published