{"id":15190463,"url":"https://github.com/raghavbhatirv/library-ideaclan","last_synced_at":"2026-03-03T16:03:41.784Z","repository":{"id":228148145,"uuid":"773037416","full_name":"raghavbhatirv/Library-IdeaClan","owner":"raghavbhatirv","description":"This project is a backend application for a library management system. It is developed using Node.js with a GraphQL API, integrated with MongoDB database.","archived":false,"fork":false,"pushed_at":"2024-03-17T20:07:25.000Z","size":236,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T04:53:52.143Z","etag":null,"topics":["apollo-server","expressjs","graphql","javascript","jwt","mongodb","mongoosejs","nodejs"],"latest_commit_sha":null,"homepage":"https://adorable-yoke-elk.cyclic.app","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/raghavbhatirv.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-03-16T15:15:18.000Z","updated_at":"2024-03-17T20:06:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"ac1c06c4-464e-4fd3-b112-2d943034bb5c","html_url":"https://github.com/raghavbhatirv/Library-IdeaClan","commit_stats":null,"previous_names":["raghavbhati/library-ideaclan","raghavbhatirv/library-ideaclan"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/raghavbhatirv/Library-IdeaClan","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raghavbhatirv%2FLibrary-IdeaClan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raghavbhatirv%2FLibrary-IdeaClan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raghavbhatirv%2FLibrary-IdeaClan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raghavbhatirv%2FLibrary-IdeaClan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raghavbhatirv","download_url":"https://codeload.github.com/raghavbhatirv/Library-IdeaClan/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raghavbhatirv%2FLibrary-IdeaClan/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30051111,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-03T15:26:47.567Z","status":"ssl_error","status_checked_at":"2026-03-03T15:26:17.132Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["apollo-server","expressjs","graphql","javascript","jwt","mongodb","mongoosejs","nodejs"],"created_at":"2024-09-27T20:23:30.108Z","updated_at":"2026-03-03T16:03:41.750Z","avatar_url":"https://github.com/raghavbhatirv.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Library Management System\n\n## Introduction\nThis project is a backend application for a library management system. It is developed using Node.js with a GraphQL API, integrated with MongoDB database. The application manages \"Books\" and \"Users\" entities and implements authentication and book management features.\n\n## Live Links\n**Backend:** https://adorable-yoke-elk.cyclic.app\n\u003cbr\u003e\n**Postman:** https://www.postman.com/raghavbhatirv/workspace/graph-ql-ideaclan\n\u003cbr\u003e\n\n## Tech Stack\n- Node.js\n- Express.js\n- MongoDB\n- Mongoose\n- GraphQL\n- Apollo Server\n- JWT for Authentication\n\n## Installation\nTo get started with the project, follow these steps:\n\n1. Clone the repository.\n\n```bash\nhttps://github.com/Raghavbhati/EduHub-IdeaClan.git\n```\n\n2. Install the dependencies using.\n\n```bash\nnpm install\n```\n\n3. Start the application by running.\n\n```bash\nnpm run dev\n```\n\n\n## API Endpoints\n### Queries\n- `users`: Get all users\n- `user(id)`: Get a user by ID\n- `books`: Get all books\n- `book(id)`: Get a book by ID\n- `searchBooks(title)`: Search books by title\n\n### Mutations\n- `addUser(email, password, role)`: Register a new user\n- `loginUser(email, password)`: Login a user\n- `updateUser(email, password)`: Update a user's details\n- `deleteUser()`: Delete a user\n- `addBook(title, author, publishedYear)`: Add a new book (Admin only)\n- `updateBook(id, title, author, publishedYear)`: Update a book's details (Admin only)\n- `deleteBook(id)`: Delete a book (Admin only)\n- `borrowBook(bookId)`: Borrow a book\n- `buyBook()`: Buy a book\n\n\n\n## File Structure\n![File Structure](./image/FileStructure.png)\n\n\n## Important links:\n\n**Portfolio:** https://www.raghavbhatirv.in/\n\u003cbr\u003e\n**Github:** https://github.com/Raghavbhati\n\u003cbr\u003e\n**Linkdin:** https://www.linkedin.com/in/raghavbhatirv/\n\u003cbr\u003e\n**Twitter:** https://twitter.com/raghavbhatirv/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraghavbhatirv%2Flibrary-ideaclan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraghavbhatirv%2Flibrary-ideaclan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraghavbhatirv%2Flibrary-ideaclan/lists"}