URL Shortner
A API that shortens the url entered by the user. Also, stores the searched url into database with SQLAlchemy.
This is a RESTful API written in Python that allows users to shorten long URLs. It uses a simple interface to accept long URLs from users and generates shortened links that can be used to redirect to the original URLs.
Technologies used:
- Python (Flask)
- SQLAlchemy
- JavaScript
- HTML
- CSS
- Git
- JSON Web Tokens
- passlib
A demonstration of a user registration interface for new users is being showcased.
The Python program has the following functionality:
-
Accepting a URL from a user as input.
-
Shortening the URL using shrtcode API.
-
Storing the shortened URL and user details(Searched URL and username) in a database.
Source Code
Source Code (Frontend)
In this section, users are provided with the option to input the URL they wish to shorten.