{"id":15745241,"url":"https://github.com/gabrielbb/library-api","last_synced_at":"2026-02-15T18:34:30.551Z","repository":{"id":44148459,"uuid":"180278803","full_name":"GabrielBB/library-api","owner":"GabrielBB","description":"This is a simple Library REST API made with Node JS and an In-Memory SQLITE database.","archived":false,"fork":false,"pushed_at":"2022-12-30T17:27:21.000Z","size":321,"stargazers_count":0,"open_issues_count":11,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-05T05:41:56.591Z","etag":null,"topics":["library-management-system","nodejs","sqlite"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/GabrielBB.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}},"created_at":"2019-04-09T03:36:34.000Z","updated_at":"2019-06-09T13:50:42.000Z","dependencies_parsed_at":"2023-01-31T12:10:21.048Z","dependency_job_id":null,"html_url":"https://github.com/GabrielBB/library-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/GabrielBB/library-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GabrielBB%2Flibrary-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GabrielBB%2Flibrary-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GabrielBB%2Flibrary-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GabrielBB%2Flibrary-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GabrielBB","download_url":"https://codeload.github.com/GabrielBB/library-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GabrielBB%2Flibrary-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29486559,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T15:33:17.885Z","status":"ssl_error","status_checked_at":"2026-02-15T15:32:53.698Z","response_time":118,"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":["library-management-system","nodejs","sqlite"],"created_at":"2024-10-04T04:02:33.127Z","updated_at":"2026-02-15T18:34:30.534Z","avatar_url":"https://github.com/GabrielBB.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Library API\n\n### This is a simple Library REST API made with Node JS and an In-Memory SQLITE database. \n\nTo make the database migration pretty simple there is a seed.sql file under /src/helpers/. The application looks for this file and makes an execution to the database everytime it starts. This will make it simple to get you up and running without any configuration.\n\nThe reason why there is a \"views\" folder in this REST API is because i wanted to imitate the way Google Chrome renders PDF files. So, i used CSS inside an HTML file and used a view engine to parse that HTML with the book content. This way when you specify that you want the HTML version of a book page, it will look just like a real book page!\n\n-----------------------------------\n\nHow to configure the app:\n\nMake sure you have Node JS 8 or later in your machine and run this command in the project folder:\n\nnpm install\n\n------------------------------------\n\nHow to automatically test the app:\n\nThis project uses unit tests. Run this command:\n\nnpm test\n\n-------------------------------------\n\nHow to run:\n\nnpm start\n\n-------------------------------------\n\nExample endpoints:\n\nhttp://localhost:3000/book/\n\n\nhttp://localhost:3000/book/1/\n\n\nhttp://localhost:3000/book/1/page/1\n\n\nhttp://localhost:3000/book/1/page/3/html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabrielbb%2Flibrary-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgabrielbb%2Flibrary-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabrielbb%2Flibrary-api/lists"}