Git Product home page Git Product logo

pashkavrn / books_catalog Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 114 KB

Настольные пет проект цифрового помощника библиотекаря. В стадии разработки. Задачи первого релиза: цифровизация библиотеки, помощник библиотекаря. Учет книг, выдачи арендаторам. Постройка API и HTML визуализации проекта. DRF. Если вам тоже интересно заняться настольным проектом - пишите в мой телеграм, буду рад совместной работе :)

Python 100.00%

books_catalog's Introduction

Hello world , my name is Pavel! I am currently a beginner Python developer.

Passionate beginner Python backend developer from Russia. Python, and all programming in general, amazed me with its ability to simulate almost any situation that happens in our lives, it's very exciting and insanely addictive :)

Coding

pashkavrn

Languages and Tools:

django docker nginx postgresql postman python sqlite

books_catalog's People

Contributors

dostovak avatar pashkavrn avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

books_catalog's Issues

Frontend issue (termless)

Нужно разобраться со фронтом (бессрочно).


Deal with the frontend (termless).

Удаление пользователя 2.

Пользователь почему-то не может удалить сам себя.
Пробовал по токену пользователя через метод запроса delete. Запрашивает текущий пароль, ввожу его, но он почему-то не верный. надо разобраться и реализовать возможность пользователя удалиться.

Создать тестовую БД / Create test DB

Создать тестовую базу данных пользователей и книг.
В идеале создать json файл и скрипт автоматической загрузки в БД, чтобы не делать это каждый раз вручную.


Create a test database of users and books.
Ideally, create a json file and an automatic loading script into the database so as not to make it manually every time.

Results of meeting dt. 10.04.2023

Результаты встречи 10.04.2023:

  1. Проверить работоспособность эндпойнта аренды (rents).
    #51
  2. При запросе данных о книге должна отображаться инфа о статусе выдачи.
    #52
  3. Выяснить как создавать несколько объектов разом.
    #53
  4. Пересмотреть систему штрафов.
    #54
  5. Сортировать объекты в модели книг по алфавиту и рейтингу.
    #55
  6. Поправить права анонимов на просмотр юзеров.
    #56

Results of the meeting on 10.04.2023:

  1. Check rental endpoint (rents).
    #51
  2. When requesting data about the book, information about the issuance status should be displayed.
    #52
  3. Find out how to create multiple objects at once.
    #53
  4. Review the system of fines.
    #54
  5. Sort the objects in the book model alphabetically and by rating.
    #55
  6. Correct the permissions of anonymous to view users.
    #56

Results of meeting dt. 21.03.2023

Результаты обсуждения:

  1. Если используется новая внешняя библиотека, то её необходимо сразу занести в requirements.txt (бессрочно).
  2. Приводим в порядок докстринги + дублируем все на англ (до 24.03.23).
  3. Выносим разрешения (permissions) в отдельный файл (до 24.03.23).
  4. Тестируем сервис по эндпойнтам (до 24.03.23).
  5. Начинаем разбираться с фронтом (бессрочно).

Discussion results:

  1. In case of usage of new external library then it must be immediately added to requirements.txt (termless).
  2. Put the docstrings in order + duplicate everything in English (before 03/24/23).
  3. Move permissions to a separate file (before 03/24/23).
  4. Test the service by endpoints (before 03/24/23).
  5. Deal with the frontend (termless).

Permissions issue (before 03/24/23)

Выносим разрешения (permissions) в отдельный файл (до 24.03.23).


Move permissions to a separate file (before 03/24/23).

Удаление профиля пользователя.

Реализовать систему при которой, после удаления профиля, данные в БД оставались.
Пример:
Читателя взял в библиотеке дорогую книгу. Удалил свой профиль. Его контакты и данные для розыска утеряны. Нужно не допустить этого.

Троттлинг / Throttling

Применить троттлинг к анонимам и зарегистрированным пользователям.


Apply throttling to anonymous and registered users.

Docstrings issue (before 03/24/23)

Приводим в порядок докстринги + дублируем все на англ (до 24.03.23).


Put the docstrings in order + duplicate everything in English (before 03/24/23).

Реализация посетителя библиотеки.

Идея:

Реализация выдачи книги читателю библиотеки.

После получения книги читателем, начинается отсчет дней(14).
По завершению отсчета, Читатель возвращает книгу:
Если пользователь возвращает книгу в срок - Получает +1 Бонус бал в репутации
Если читатель возвращает книгу позже срока, или не возвращает вовсе - -1Бонус бал репутации

Придумать реализацию высчитывания средне. ареф. числа репутации читателя.

Создать модель Читателя(посетителя библиотеки) с полями:

  1. - Имя
  2. - Фамилия
  3. - email
  4. - Книги на руках.
  5. - Репутация (Рейтинговая система, которой может управлять Библиотекарь(суперюзер))

Реализовать Сериализатор:

  • - Возвращает все поля из модели посетителя.

Тестовая БД / Test DB

Создать тестовую базу данных состоящую из 20-и пользователей и 20-и книг.


Create a test database consisting of 20 users and 20 books.

Пагинация / Pagination

Создать пагинацию с 10ю объектами на странице.


Create a pagination with 10 objects per page.

Help_text

Добавить Help_text во все модели.


Add Help_text to all models.

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.