{"id":28553849,"url":"https://github.com/anarbyrm/bookcommentingservice","last_synced_at":"2026-07-11T15:31:24.020Z","repository":{"id":296629087,"uuid":"990481309","full_name":"anarbyrm/BookCommentingService","owner":"anarbyrm","description":"A book review service.","archived":false,"fork":false,"pushed_at":"2025-06-01T15:40:18.000Z","size":250,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-26T22:24:28.193Z","etag":null,"topics":["nestjs","nodejs","sqlite","typeorm","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/anarbyrm.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}},"created_at":"2025-05-26T07:21:22.000Z","updated_at":"2025-06-01T15:40:22.000Z","dependencies_parsed_at":"2025-06-01T11:10:02.619Z","dependency_job_id":"ada638bc-09ba-44cd-a921-47ed23ec500e","html_url":"https://github.com/anarbyrm/BookCommentingService","commit_stats":null,"previous_names":["anarbyrm/bookcommentingservice"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/anarbyrm/BookCommentingService","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anarbyrm%2FBookCommentingService","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anarbyrm%2FBookCommentingService/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anarbyrm%2FBookCommentingService/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anarbyrm%2FBookCommentingService/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anarbyrm","download_url":"https://codeload.github.com/anarbyrm/BookCommentingService/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anarbyrm%2FBookCommentingService/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35367446,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-11T02:00:05.354Z","response_time":104,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["nestjs","nodejs","sqlite","typeorm","typescript"],"created_at":"2025-06-10T04:30:31.869Z","updated_at":"2026-07-11T15:31:24.015Z","avatar_url":"https://github.com/anarbyrm.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Url Shortener App\n\nA simple book review service build with NestJS.\n\n### About\n\nThis project allows users to create, get one, get all books and add reviews for specified book. Average rating is calculated for each book based on its reviews. Project is build using NestJS opinionated architecture using dependency injection. For data persistence SQLite is selected for the sake of simplicity and TypeORM to abstract SQL. Migration process is preferred instead using syncronize=true method for database table structure modification.\n\n## Table of Contents\n\n- [Installation](#installation)\n- [Features](#features)\n- [API Reference](#api-reference)\n- [Swagger](#swagger)\n\n## Installation\n\n#### Clone the repository\n```bash\ngit clone https://github.com/anarbyrm/BookCommentingService.git\n```\n\n#### Navigate into the directory\n```bash\ncd ./BookCommentingService\n```\n\n#### Build and up the project\n```bash\nnpm start\n```\n\nYou are ready to use project endpoints.\n\n## Features\n\n- Book and review create and listings\n- SQLite database support for persistence and typeorm with migrations\n- Swagger docs\n\n## API Reference\n\n| Endpoint                     | Method | Description                     |\n| -----------------------------| ------ | --------------------------------|\n| `/api/books`                 | POST   | Creates new book                |\n| `/api/books`                 | GET    | Fetch all books with reviews    |\n| `/api/books/:bookId`         | GET    | Fetch one book with reviews     |\n| `/api/books/:bookId/reviews` | GET    | Create a review for a book      |\n\n## Swagger\n\nAll endpoints can be inspected in swagger docs. It can be accessed over `localhost:3000/swagger`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanarbyrm%2Fbookcommentingservice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanarbyrm%2Fbookcommentingservice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanarbyrm%2Fbookcommentingservice/lists"}