Skip to content

SokolovskiR/yamdb_final

Repository files navigation

"YaMDb"

YAMDB workflow status

Description

This is a RESTful API for "YaMDb", a rating service for artworks like movies, books or songs.

Technology

  • Python 3.7
  • Django 2.2.16
  • Django REST framework 3.12.4

How to run the project in dev-mode

  • 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

REST API available endpoints

After you started the development server, go to /redoc/ URL where you can find the API documentation with available endpoints.

Public Deployment

You can check the public deployed API by visiting: http://romka-yatube.hopto.org/api/v1/

API Documentation: http://romka-yatube.hopto.org/redoc/

Authors

RomanS, AlexanderK, RomanY

About

yamdb_final

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages