Skip to content

almazkun/durls

Repository files navigation

durls

Django URL Shortener

Demo at:

https://durls.akun.dev/

Usage

  1. Start development server:
git clone https://github.com/almazkun/durls.git
cd durls
pipenv install
pipenv shell
python3 manage.py migrate
python3 manage.py runserver 127.0.0.1:8000

# Open your browser and navigate to `127.0.0.1:8000` or `localhost:8000`
  1. Start production server:
git clone https://github.com/almazkun/durls.git
cd durls
docker-compose up -d --build
docker-compose exec web python3 manage.py migrate
docker-compose exec web python3 manage.py collectstatic --noinput

# Open your browser and navigate to `127.0.0.1` or `localhost`
  1. To add a new redirect destination:
    • Start the server
    • Open your browser and navigate to 127.0.0.1 or pointed domain.
    • Create a user and add a new redirect destination.

TODO

  • Job to reset the DB
  • Social login
  • Restrict Login/Signup option
  • Create redirect command
  • API for creating redirects

About

Django URL Shortner

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages