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 https://github.com/SokolovskiR/api_yamdb
- 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 /redoc/ URL where you can find the API documentation with available endpoints.
You can check the public deployed API by visiting: http://romka-yatube.hopto.org/api/v1/
API Documentation: http://romka-yatube.hopto.org/redoc/
RomanS, AlexanderK, RomanY