This is LiveLike's new-hire backend code assessment application.
![]() |
4 éve | |
---|---|---|
grunge | 4 éve | |
.gitignore | 4 éve | |
Makefile | 4 éve | |
README.md | 4 éve | |
manage.py | 4 éve | |
requirements.txt | 4 éve | |
tox.ini | 4 éve |
This Django project implements a catalogue of Grunge rock music. It has a fully-functional Django admin interface, and a read-only REST API. It contains three related data models:
Artist
Album
Track
uuid
, a name
, and contain 0 or more tracks from this catalogue. The tracks should be orderable in the playlist.tests/test_playlists.py
. The goal is to have no skipped or failing tests.You can check your work at any time by running:
$ make ready
This will run the default code linters and the test suite. You can format your code to what the linters expect with:
$ make format
Please ensure that there are no code format or lint errors.
Create an account at https://code.livelike.com/user/sign_up
When you have completed the goals then you can open a Pull Request to this main repository.
$ python3 -m venv venv
$ source venv/bin/activate
$ pip install --upgrade pip
$ pip install --requirement=requirements.txt
$ python manage.py migrate
$ python manage.py loaddata initial_data
$ python manage.py createsuperuser
$ python manage.py runserver
Log into the Django admin with your superuser account at:
Browse the REST API at: