A simple Django + DRF-based link shortener that generates short codes for redirects and provides an API to create and retrieve short links.
Follow the instructions at https://mise.jdx.dev/getting-started.html
cd python-backend-engineer
mise trust
mise installSpecific version of Python and Poetry will be installed in the current folder, and a Python virtual environment will be created and activated.
poetry installpython manage.py migratepython manage.py runserverThe app will be available on http://localhost:8000.
Interactive documentation is available on:
- http://localhost:8000/api/docs (Swagger UI)
- http://localhost:8000/api/redoc (Redoc)