This is LiveLike's new-hire backend code assessment application.
|
5 月之前 | |
---|---|---|
grunge | 5 月之前 | |
.gitignore | 4 年之前 | |
Makefile | 5 月之前 | |
README.md | 5 月之前 | |
manage.py | 4 年之前 | |
requirements.txt | 5 月之前 | |
tox.ini | 4 年之前 |
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
If you are applying for a Full Stack role, your submission should satisfy the Full Stack Candidate goals. Otherwise, your submission should satisfy the Backend Candidate goals.
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.uuid
, a name
, and contain 0 or more tracks from this catalogue. The tracks should be orderable in the playlist.Used for Backend and Fullstack role code assessments. All submissions will be evaluated based on these base criteria, and specific roles might have some additional points to consider.
manage.py
or Foreman.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.
This application is compatible with Python 3.10 and later. You can set up a virtual environment with:
$ python3 -m venv --upgrade-deps venv
$ source venv/bin/activate
$ python3 -m pip install --requirement=requirements.txt
$ python3 manage.py migrate
$ python3 manage.py loaddata initial_data
$ python3 manage.py createsuperuser
$ python3 manage.py runserver
Log into the Django admin with your superuser account at:
Browse the REST API at: