Skip to content

user-Roma/api_yamdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

"YaMDb"

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 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

REST API available endpoints

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

Authors

RomanS, AlexanderK, RomanY

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors