An open API service indexing awesome lists of open source software.

https://github.com/say4n/linkto

URL Shortener using Flask and Redis
https://github.com/say4n/linkto

flask materializecss pipenv python36 redis

Last synced: about 1 month ago
JSON representation

URL Shortener using Flask and Redis

Awesome Lists containing this project

README

          

# :zap: Link.To
URL Shortener using Flask and Redis

![LinkTo Link Shortener](screenshots/showcase.png)

## :zap: What does LinkTo do?
Give it a link and it will shorten it for you. It'll throw in some analytics too for your pleasure.

## :zap: What does it have?
- URL Shortening
- Analytics (fancy charts with [ChartJS](http://www.chartjs.org/))
- Multi-user (using [ACID](https://en.wikipedia.org/wiki/ACID))
- Concurrency (with [Gunicorn](http://docs.gunicorn.org/en/stable/) WSGI)

## :zap: How do I run it?
To run LinkTo locally, you will need [Pipenv](https://github.com/pypa/pipenv), Python3 and [Redis](https://github.com/antirez/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!

## :zap: Why/How was it built?
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