{"id":26354655,"url":"https://github.com/aventhis/go-vinilstore-api","last_synced_at":"2026-02-18T07:32:01.024Z","repository":{"id":280819577,"uuid":"943253336","full_name":"aventhis/go-vinilStore-api","owner":"aventhis","description":"RESTful API на Go с использованием Gin для управления коллекцией винтажных джазовых пластинок. Поддерживает просмотр и добавление альбомов через JSON-запросы.","archived":false,"fork":false,"pushed_at":"2025-03-05T15:02:22.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-20T05:19:52.925Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aventhis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-05T12:08:36.000Z","updated_at":"2025-03-05T15:02:25.000Z","dependencies_parsed_at":"2025-03-05T14:20:34.538Z","dependency_job_id":"87ff53b0-dbcb-4f26-8792-15f6cbe1c944","html_url":"https://github.com/aventhis/go-vinilStore-api","commit_stats":null,"previous_names":["aventhis/go-vinilstore-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aventhis/go-vinilStore-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aventhis%2Fgo-vinilStore-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aventhis%2Fgo-vinilStore-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aventhis%2Fgo-vinilStore-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aventhis%2Fgo-vinilStore-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aventhis","download_url":"https://codeload.github.com/aventhis/go-vinilStore-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aventhis%2Fgo-vinilStore-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29572406,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T06:19:27.422Z","status":"ssl_error","status_checked_at":"2026-02-18T06:18:44.348Z","response_time":162,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-16T12:18:27.081Z","updated_at":"2026-02-18T07:32:01.006Z","avatar_url":"https://github.com/aventhis.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-vinilStore-api\n# 📀 Go Vinyl Store API\n\n## 📌 Описание проекта\nGo Vinyl Store API — это RESTful API, реализованный на Go с использованием фреймворка **Gin**. API позволяет управлять коллекцией виниловых пластинок, предоставляя CRUD-операции для работы с данными.\n\n## 🚀 Функциональность\n- 📋 **Получение списка альбомов** (`GET /albums`)\n- 🔍 **Получение альбома по ID** (`GET /albums/:id`)\n- ➕ **Добавление нового альбома** (`POST /albums`)\n\n## 🛠️ Установка и запуск\n\n### 1️⃣ **Клонирование репозитория**\n```sh\n git clone https://github.com/aventhis/go-vinilStore-api.git\n cd go-vinilStore-api\n```\n\n### 2️⃣ **Установка зависимостей**\n```sh\n go mod tidy\n```\n\n### 3️⃣ **Запуск сервера**\n```sh\n go run cmd/main.go\n```\n\nСервер будет запущен по адресу **`http://localhost:8080`**.\n\n## 📡 API Эндпоинты\n\n### 📋 Получение всех альбомов\n```http\nGET /albums\n```\n**Пример ответа:**\n```json\n[\n    {\n        \"id\": \"1\",\n        \"title\": \"Blue Train\",\n        \"artist\": \"John Coltrane\",\n        \"price\": 56.99\n    }\n]\n```\n\n### 🔍 Получение альбома по ID\n```http\nGET /albums/:id\n```\n**Пример ответа:**\n```json\n{\n    \"id\": \"1\",\n    \"title\": \"Blue Train\",\n    \"artist\": \"John Coltrane\",\n    \"price\": 56.99\n}\n```\n\n### ➕ Добавление нового альбома\n```http\nPOST /albums\n```\n**Пример запроса:**\n```json\n{\n    \"id\": \"4\",\n    \"title\": \"Kind of Blue\",\n    \"artist\": \"Miles Davis\",\n    \"price\": 49.99\n}\n```\n**Пример ответа:**\n```json\n{\n    \"message\": \"Album added successfully\",\n    \"album\": {\n        \"id\": \"4\",\n        \"title\": \"Kind of Blue\",\n        \"artist\": \"Miles Davis\",\n        \"price\": 49.99\n    }\n}\n```\n\n## 🛠 Используемые технологии\n- [Go](https://go.dev/) — основной язык разработки\n- [Gin](https://github.com/gin-gonic/gin) — веб-фреймворк\n- [cURL](https://curl.se/) — для тестирования API\n\n## ✨ TODO\n- 🔄 Добавить возможность обновления альбома (`PUT /albums/:id`)\n- 🗑 Удаление альбома (`DELETE /albums/:id`)\n- 📦 Подключить базу данных (PostgreSQL или SQLite)\n\n## 👨‍💻 Автор\n[aventhis](https://github.com/aventhis)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faventhis%2Fgo-vinilstore-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faventhis%2Fgo-vinilstore-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faventhis%2Fgo-vinilstore-api/lists"}