My solution to JMR Junior Python Develeper recruitment task.
Live. Admin credentials: admin admin
Requires Python 3.5+ to run.
Install the dependencies, apply migrations, and start the server.
$ cd .\Brother-Bear\
$ pip install -r requirements.txt
$ python3 manage.py makemigrations
$ python3 manage.py migrate
$ python3 manage.py runserver
$ cd .\Brother-Bear\
$ docker build -t bear .
$ docker run -p 8000:8000 -i -t bear
$ python3 manage.py test
/
- ( POST | GET ) Create shortened url
/<str:id>
- ( GET ) Returns shortened url