Closed DerouineauNicolas closed 4 years ago
This PR aims to adress issue #4 and #5.
The follwing features are added:
adds token-auth authentification to DRF backend
add login/subcribe pages in the frontend
push informations from front to back when a authenticated user watches a video (videoid and current playing time in the media)
allow authenticated users to get their viewing history in the frontend.
Moreover, several improvements have been done on the frontend side (code refactoring and UI).
A cross check for existing files in the database is also added when updating database:
docker-compose -f docker-compose-prod.yml run --rm web python3 manage.py updatedb
This PR aims to adress issue #4 and #5.
The follwing features are added:
adds token-auth authentification to DRF backend
add login/subcribe pages in the frontend
push informations from front to back when a authenticated user watches a video (videoid and current playing time in the media)
allow authenticated users to get their viewing history in the frontend.
Moreover, several improvements have been done on the frontend side (code refactoring and UI).
A cross check for existing files in the database is also added when updating database:
docker-compose -f docker-compose-prod.yml run --rm web python3 manage.py updatedb