URL Shortener using Flask and Redis
Give it a link and it will shorten it for you. It'll throw in some analytics too for your pleasure.
- URL Shortening
- Analytics (fancy charts with ChartJS)
- Multi-user (using ACID)
- Concurrency (with Gunicorn WSGI)
To run LinkTo locally, you will need Pipenv, Python3 and Redis.
- Install dependencies with
pipenv install
- Fire up a redis-server with
redis-server
. It ships with sensible deafults! - Finally, let's run the app
pipenv run python app.py
and witness your handiwork! - That's all!
Link.To was built using Flask with Redis in the database layer as a means to explore key-value store type of (NoSQL) databases.
___ ___ ________ ___ __ _________ ________
|\ \ |\ \|\ ___ \|\ \|\ \ |\___ ___\\ __ \
\ \ \ \ \ \ \ \\ \ \ \ \/ /|_ \|___ \ \_\ \ \|\ \
\ \ \ \ \ \ \ \\ \ \ \ ___ \ \ \ \ \ \ \\\ \
\ \ \____\ \ \ \ \\ \ \ \ \\ \ \ ___ \ \ \ \ \ \\\ \
\ \_______\ \__\ \__\\ \__\ \__\\ \__\ |\__\ \ \__\ \ \_______\
\|_______|\|__|\|__| \|__|\|__| \|__| \|__| \|__| \|_______|
Icons made by Freepik from www.flaticon.com is licensed by CC 3.0 BY