Skip to content

safym/git-repo-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

📂 Web app for searching Github repositories

The search takes place using the Github API

Style reference dark theme of Github

🔗 Github Pages

Live link: Github search repo page

🖥️ Screenshots

📑 Implementation [EN]:

The search page is logically an instance of the SearchSection class.

Features of behavior:

  • Validation and message of incorrect data:
    • Query string: not empty from 3 to 200 characters
  • Submit of the search form occurs by pressing the button or the Enter key if the input is valid
  • The query results in 10 repositories with the best match
  • The result card contains:
    • Name-link to the repository (opens in a new browser tab)
    • Last modified date
    • Repository Description
    • Count of "stars"
    • Count of "forks"
    • The main language of the repository
  • There is a loader element during query execution of the request
  • There is a message about an empty search result

🔒 API limit [EN]

For unauthenticated requests, the rate limit allows for up to 60 requests per hour. Unauthenticated requests are associated with the originating IP address, and not the user making requests.

For more information, see the API documentation.

📑 Реализация [RU]:

Страница поиска логически - экземпляр класса SearchSection.

Особенности поведения:

  • Валидация и сообщение о некорректных данных:
    • Строка запроса: не пустая от 3 до 200 символов
  • Submit формы поиска происходит по нажатию кнопки или клавиши Enter если строка вопроса валидна
  • В результате запроса выводится 10 репозиториев с наилучшим совпадением
  • Карточка результата содержит:
    • Название-ссылка на репозиторий (открывается в новой вкладке браузера)
    • Последняя дата изменения
    • Описание репозитория
    • Количество "звезд"
    • Количество "форков"
    • Основной язык репозитория
  • Присутсвует loader-элемент, пока выполняется запрос
  • Присуствует сообщение о пустом результате поиска

🔒 Ограничение API [RU]

Для запросов, не прошедших проверку подлинности, ограничение скорости допускает до 60 запросов в час. Неаутентифицированные запросы связаны с исходным IP-адресом, а не с пользователем, отправляющим запросы.

Подробнее, в API документации.

About

Vanilla js web app for searching repositories on github.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published