Django URL Shortener
https://durls.akun.dev/
- 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`- 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`- To add a new redirect destination:
- Start the server
- Open your browser and navigate to
127.0.0.1or pointed domain. - Create a user and add a new redirect destination.
- Job to reset the DB
- Social login
- Restrict Login/Signup option
- Create redirect command
- API for creating redirects