Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ks-avinash/django-url-shortener
A URL shortener is a Web Application that will create a short Uniform Resource Locator (URL) or Web page address from a long one so that the short version, which is easier to remember and enter, can be used instead.
https://github.com/ks-avinash/django-url-shortener
django django-rest-framework python37
Last synced: 6 days ago
JSON representation
A URL shortener is a Web Application that will create a short Uniform Resource Locator (URL) or Web page address from a long one so that the short version, which is easier to remember and enter, can be used instead.
- Host: GitHub
- URL: https://github.com/ks-avinash/django-url-shortener
- Owner: ks-avinash
- Created: 2018-08-24T15:05:26.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T02:50:39.000Z (about 2 years ago)
- Last Synced: 2024-11-01T08:26:58.685Z (about 2 months ago)
- Topics: django, django-rest-framework, python37
- Language: Python
- Size: 10.2 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# django-url-shortener
**A URL shortener is a Web Application(RESTfull API endpoints) that will create a short Uniform Resource Locator (URL) or Web page address from a long one so that the short version, which is easier to remember and enter, can be used instead.**
creating a shortened url
fetching list of shortened urls
fetching original url from a shortened url
deleting shortened-urls
Constraints for the shortener service
Shortened urls should be unique for different urls.
Shortener service should generate the same url for all of below cases
google.com
www.google.com
http://google.com
http://www.google.com
https://google.com
https://www.google.com
Its support uploading '.csv' file containing urls and show the shortened urls for each
Postman Collection for Above Operations(REST API endpoints)
https://www.getpostman.com/collections/f6efcf11b5689b75121e
# Instructions
- `git clone https://github.com/avinashkunuje/django-url-shortener.git`
- `python3 -m venv yourenvname`
- `source activate yourenvname`
- `pip install -r requirements.txt`
- `cd django-url-shortener`
- `python manage.py runserver`