A Lightweight URL shortner Application built with Flask, SqlAlechemy, Bootstrap. This Application will allow you to short your own URL or host this app as a URL Shorter Under your maintenance.
To deploy this project run, Clone this Repo
git clone https://github.com/mayurjadhav2002/flask_url_shortner.git
open Project File and Install Required Dependencies. You'll Need python 3 and PIP installer for this Project. If you already meet requirements, install packages via pip
source venv/bin/activate
pip install -r requirements.txt
Now, open new terminal and type python3
python
after opening python, in terminal, run following code to create sqlalchemy database.
from main import *
db.create_all()
Now you can run the application on your local Machine. Just type in cmd or terminal
python main.py
or
set FLASK_APP=main
flask run
Contributions are always welcome!
Please adhere to this project's code of conduct
.
Client: Flask, Flask_sqlAlchemy, Bootstrap
Server: Flask(Gunicorn) Self Hosted Locally