API for the Review Service. Authorization was made using the JWT token. Users can write reviews on films, music or book, also they can leave comments on any reviews.
This project was made in collaboration with @sproggi and @menyanet73. My part of this project was to build scoring, reviews and comment sections. Also I made a huge effort in coordination between the developers, so we went through it smoothly.
Python 3, Django 2.2, DRF, PyJWT
Clone a repository and go to command line:
git clone https://github.com/eraline/api_yamdb.git
cd api_yamdb
Create and activate virtual environment:
python3 -m venv env
For Windows:
source env/Scripts/activate
For Linux:
source env/bin/activate
Install dependencies from a file requirements.txt:
python3 -m pip install --upgrade pip
pip install -r requirements.txt
Apply migrations:
cd api_yamdb
python3 manage.py migrate
Start project:
python3 manage.py runserver
127.0.0.1:8000/redoc/