{"id":15067703,"url":"https://github.com/meyiapir/books-api","last_synced_at":"2026-03-16T16:08:32.409Z","repository":{"id":161427249,"uuid":"612154786","full_name":"meyiapir/books-api","owner":"meyiapir","description":"REST API for managing book lists","archived":false,"fork":false,"pushed_at":"2023-03-21T19:21:00.000Z","size":83,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T13:21:25.924Z","etag":null,"topics":["api","gin","go","go-api","go-examples","golang-api","golang-examples","golang-rest","rest-api","sql","sqlx"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/meyiapir.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2023-03-10T10:13:03.000Z","updated_at":"2023-05-13T17:33:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"d84afc42-395e-4416-8179-ffd9c2448648","html_url":"https://github.com/meyiapir/books-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meyiapir%2Fbooks-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meyiapir%2Fbooks-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meyiapir%2Fbooks-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meyiapir%2Fbooks-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/meyiapir","download_url":"https://codeload.github.com/meyiapir/books-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248243482,"owners_count":21071054,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["api","gin","go","go-api","go-examples","golang-api","golang-examples","golang-rest","rest-api","sql","sqlx"],"created_at":"2024-09-25T01:26:13.557Z","updated_at":"2026-03-16T16:08:32.376Z","avatar_url":"https://github.com/meyiapir.png","language":"Go","readme":"# REST API for managing books\n\n## The project uses skills:\n- Development of Web Applications on Go, following the REST API design.\n- Working with the framework \u003ca href=\"https://github.com/gin-gonic/gin\"\u003egin-gonic/gin\u003c/a\u003e.\n- The Pure Architecture approach in building the application structure. Dependency injection technique.\n- Working with the PostgreSQL database.\n- Application configuration using the library \u003ca href=\"https://github.com/spf13/viper\"\u003espf13/viper\u003c/a\u003e. Working with environment variables.\n- Working with the database using the library \u003ca href=\"https://github.com/jmoiron/sqlx\"\u003esqlx\u003c/a\u003e.\n- Writing SQL queries.\n\n### Для запуска приложения:\n\n```bash\ngo run cmd/main.go\n```\n\nIf the application is launched for the first time, you need to apply migrations to the database:\n```bash\nmigrate -path ./schema -database 'postgres://postgres:password@host:5436/postgres?sslmode=disable' up\n```\n\n```\ngoBooksApi\n├── cmd\n│   └── main.go\n├── config\n│   └── config.yml\n├── pkg\n│   ├── handler\n│   │   ├── books.go\n│   │   ├── handler.go\n│   │   └── response.go\n│   ├── repository\n│   │   ├── books_postgres.go\n│   │   ├── postgres.go\n│   │   └── repository.go\n│   └── service\n│       ├── bookService.go\n│       ├── booksService.go\n│       └── service.go\n├── schema\n│   ├── 000001_init.down.sql\n│   └── 000001_init.up.sql\n├── .env\n├── .gitignore\n├── book.go\n├── go.mod\n├── go.sum\n├── LICENSE\n└── server.go\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeyiapir%2Fbooks-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeyiapir%2Fbooks-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeyiapir%2Fbooks-api/lists"}