GithubHelp home page GithubHelp logo

shurshalo / api_final_yatube Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 55 KB

API для социальной сети Yatube.

Shell 1.26% Python 97.94% HTML 0.80%
django django-rest-framework jwt pytest python sqlite

api_final_yatube's Introduction

Описание

Проект "API для социальной сети Yatube" представляет собой RESTful API, разработанный с использованием Django и Django REST framework. Это API позволяет пользователям создавать, просматривать и взаимодействовать с постами, комментариями, группами и подписками. API обеспечивает безопасную аутентификацию пользователей с использованием токенов, что гарантирует сохранность и конфиденциальность пользовательских данных.

Установка

  1. Клонируйте репозиторий на свой компьютер:
[email protected]:SHURSHALO/api_final_yatube.git
  1. Создайте и активируйте виртуальное окружение:
py -3.9 -m venv venv
source venv/Scripts/activate
  1. Установите зависимости:
pip install -r requirements.txt
  1. Примените миграции:
cd yatube_api
python manage.py migrate
  1. Создайте суперпользователя:
python manage.py createsuperuser

Запуск

Запустите сервер разработки:

python manage.py runserver

Документация доступна по адресу: http://127.0.0.1:8000/redoc/

api_final_yatube's People

Contributors

shurshalo avatar

Watchers

Lucian avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.