This is a RESTful API for "YaMDb", a rating service for artworks like movies, books or songs.
- Python 3.7
- Django 2.2.16
- Django REST framework 3.12.4
- clone this repository to your local machine
git clone git@github.com:user-Roma/api_yamdb.git
- create a virtual environment
python3 m -venv venv
- activate virtual environment
source venv/bin/activate
- install dependencies in requirements.txt
pip install -r requirements.txt
- inside the folder with manage.py file execute the following command for migrations:
python3 manage.py migrate
- inside the same folder execute this command to create a superuser:
python3 manage.py createsuperuser
- inside the same folder execute this command to start the development server:
python3 manage.py runserver
After you started the development server, go to /api/v1/redoc/ URL where you can find the API documentation with available endpoints.
RomanS, AlexanderK, RomanY