Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/silva-thiago/url-shortener
The URL shortening service is an application based on Python + Django
https://github.com/silva-thiago/url-shortener
Last synced: about 2 months ago
JSON representation
The URL shortening service is an application based on Python + Django
- Host: GitHub
- URL: https://github.com/silva-thiago/url-shortener
- Owner: silva-thiago
- License: mit
- Created: 2020-01-24T15:30:41.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T03:29:56.000Z (about 2 years ago)
- Last Synced: 2023-03-06T22:58:26.188Z (almost 2 years ago)
- Language: Python
- Homepage:
- Size: 2.64 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# URL Shortener
URL shortening service developed by Thiago Silva. The user could access a list of URLs that had been shortened in the
past after logging in to their Account. And the user can see more information in the link "URLs List"
for any shortened URL.## Starting project
#### Create the database in MySQL
* create database db_shortener_url#### Inside the root directory, create and activate your venv
* python3 -m venv venv
* source venv/bin/activate#### Install project dependencies
* pip install -r requirements.txt#### System administrator access
* python3 manage.py createsuperuser#### Creating the database tables
* python3 manage.py migrate#### Migrating changes to the database
* python3 manage.py makemigrations#### Running the project
* python3 manage.py runserver#### Useful commands for development
* django-admin startproject PROJECT_NAME .
* python3 manage.py startapp MODULE_NAME
* python3 manage.py collectstatic
* pip install django
* pip install mysqlclient#### Saving development dependencies to a file
* pip freeze > requirements.txt