/api_final_yatube

Backend server for a social network for writers wishing to share their original conten

Primary LanguagePython

api_final_yatube

Choose Your Language


Description

Backend server for a social network for writers wishing to share their original content. REST API features include:

  • Posts: Create, edit, update, and delete.
  • Comments: Fetch, update, and delete.
  • Groups: Participation and management.
  • Followings: Follow users.
  • Authorization: JWT authorization support.

Installation

  1. Clone the repository:
    git clone git@github.com:nir0k/api_final_yatube.git
    cd api_final_yatube
  2. Create and activate a virtual environment:
    python3 -m venv env
    source env/bin/activate
  3. Install dependencies:
    python3 -m pip install --upgrade pip
    pip install -r requirements.txt
  4. Apply migrations:
    cd yatube_api
    python3 manage.py migrate
  5. Start the project:
    python3 manage.py runserver

API Examples

Full API Description : http://127.0.0.1:8000/redoc/