Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 927 Bytes

File metadata and controls

36 lines (29 loc) · 927 Bytes

Link shortener

A simple Django + DRF-based link shortener that generates short codes for redirects and provides an API to create and retrieve short links.

Local deployment

Install mise

Follow the instructions at https://mise.jdx.dev/getting-started.html

Set up and activate the environment

cd python-backend-engineer
mise trust
mise install

Specific version of Python and Poetry will be installed in the current folder, and a Python virtual environment will be created and activated.

Install dependencies

poetry install

Apply migrations

python manage.py migrate

Run the app

python manage.py runserver

The app will be available on http://localhost:8000.

Documentation

Interactive documentation is available on: