{"id":18537395,"url":"https://github.com/vitaee/bookstoreapp","last_synced_at":"2026-05-03T18:32:56.766Z","repository":{"id":237812169,"uuid":"794302706","full_name":"Vitaee/BookStoreApp","owner":"Vitaee","description":"Book Store App","archived":false,"fork":false,"pushed_at":"2024-05-02T23:17:30.000Z","size":99,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-27T16:11:21.247Z","etag":null,"topics":["docker-compose","express-js","mysql","sequelize"],"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/Vitaee.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}},"created_at":"2024-04-30T21:18:35.000Z","updated_at":"2024-05-02T23:21:09.000Z","dependencies_parsed_at":"2024-05-03T08:07:16.138Z","dependency_job_id":"bc2bf1a4-d198-4930-aeff-6060b367d06a","html_url":"https://github.com/Vitaee/BookStoreApp","commit_stats":null,"previous_names":["vitaee/bookstoreapp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Vitaee/BookStoreApp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vitaee%2FBookStoreApp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vitaee%2FBookStoreApp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vitaee%2FBookStoreApp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vitaee%2FBookStoreApp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vitaee","download_url":"https://codeload.github.com/Vitaee/BookStoreApp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vitaee%2FBookStoreApp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32579778,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: 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":["docker-compose","express-js","mysql","sequelize"],"created_at":"2024-11-06T19:38:03.910Z","updated_at":"2026-05-03T18:32:56.737Z","avatar_url":"https://github.com/Vitaee.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Book Store App\nBook Store App,  a simple application that displays data from a backend express api with pagination, filtering and sorting features with dynamic table.\n\n# Start Frontend Project\n- npm i\n\n- npm run dev\n\nShould be ready on ``` http://localhost:3000 ```\n\n# Start Backend Project\n- docker compose build\n\n- docker compose up -d\n\nShould be ready on ```http://localhost:4000```\n\n\nAnd thats it our frontend and backed project is ready!\n\n# Sample Documentation\nHere is the some api endpoints and their responses.\n\n• URL: ``/api/orders``\n\n• Method: GET\n\n• Description: Retrieve information about all orders in the database including\nbook details.\n\n• Response:\n```json\n{\n    \"totalItems\": 11,\n    \"totalPages\": 4,\n    \"currentPage\": 1,\n    \"data\": [\n        {\n            \"orderId\": 1,\n            \"customer\": \"Alice Smith\",\n            \"orderDetails\": [\n                {\n                    \"bookTitle\": \"Harry Potter and the Sorcerer's Stone\",\n                    \"author\": \"J.K. Rowling\",\n                    \"price\": 20,\n                    \"quantity\": 1\n                },\n                {\n                    \"bookTitle\": \"The Shining\",\n                    \"author\": \"Stephen King\",\n                    \"price\": 15,\n                    \"quantity\": 2\n                }\n            ]\n        },\n        {\n            \"orderId\": 2,\n            \"customer\": \"Bob Johnson\",\n            \"orderDetails\": [\n                {\n                    \"bookTitle\": \"A Game of Thrones\",\n                    \"author\": \"George R.R. Martin\",\n                    \"price\": 25,\n                    \"quantity\": 3\n                }\n            ]\n        },\n    ]\n```\n• Status Code: 200 OK\n\n---\n• URL: ``/api/books/top-selling/``\n\n• Method: GET\n\n• Description: Retrieve information about top selling books.\n\n• Response:\n```json\n{\n    \"totalItems\": 6,\n    \"data\": [\n        {\n            \"book_id\": 2,\n            \"totalSold\": \"7\",\n            \"book\": {\n                \"title\": \"A Game of Thrones\"\n            }\n        },\n        {\n            \"book_id\": 1,\n            \"totalSold\": \"5\",\n            \"book\": {\n                \"title\": \"Harry Potter and the Sorcerer's Stone\"\n            }\n        },\n    ]\n}\n```\n• Status Code: 200 OK","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvitaee%2Fbookstoreapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvitaee%2Fbookstoreapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvitaee%2Fbookstoreapp/lists"}