{"id":26189639,"url":"https://github.com/manya7547/librereads_elibrary","last_synced_at":"2025-09-05T06:32:10.361Z","repository":{"id":239229291,"uuid":"798938526","full_name":"Manya7547/LibreReads_elibrary","owner":"Manya7547","description":"A comprehensive electronic library management system for organizing, managing, and accessing digital resources.","archived":false,"fork":false,"pushed_at":"2025-03-27T19:46:56.000Z","size":1789,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T20:29:19.629Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Manya7547.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-05-10T19:55:16.000Z","updated_at":"2025-03-27T19:47:00.000Z","dependencies_parsed_at":"2024-05-22T01:25:28.554Z","dependency_job_id":"4cc8a824-776d-4e6e-a743-c41391f5d87d","html_url":"https://github.com/Manya7547/LibreReads_elibrary","commit_stats":null,"previous_names":["manya7547/elibrary","manya7547/librereads_elibrary"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Manya7547/LibreReads_elibrary","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Manya7547%2FLibreReads_elibrary","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Manya7547%2FLibreReads_elibrary/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Manya7547%2FLibreReads_elibrary/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Manya7547%2FLibreReads_elibrary/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Manya7547","download_url":"https://codeload.github.com/Manya7547/LibreReads_elibrary/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Manya7547%2FLibreReads_elibrary/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273722741,"owners_count":25156300,"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","status":"online","status_checked_at":"2025-09-05T02:00:09.113Z","response_time":402,"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":[],"created_at":"2025-03-12T00:40:00.206Z","updated_at":"2025-09-05T06:32:10.347Z","avatar_url":"https://github.com/Manya7547.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ELibrary\n\nA comprehensive electronic library management system for organizing, managing, and accessing digital resources.\n\n### LibreReads Homepage\n\n![LibreReads Homepage](./screenshots/elib.png)\n_Homepage of the LibreReads digital library platform_\n\n## Project Components\n\nThis project consists of three main components:\n\n1. **ELibrary API (Current Repository)**\n\n   - Backend REST API service built with Express.js and TypeScript\n   - Handles authentication, file storage, and database operations\n   - Manages book data, user authentication, and file uploads\n   - Repository: [LibreReads_elibrary](https://github.com/Manya7547/LibreReads_elibrary)\n\n2. **LibreReads (Client App)**\n\n   - Digital library platform for end users\n   - Built with Next.js 14.2.3, TypeScript, and Tailwind CSS\n   - Features:\n     - Browse and download free books and articles\n     - Book details pages with cover images\n     - Server-side rendering for optimal performance\n     - Responsive design with custom color scheme\n     - User authentication (sign-in/sign-up)\n   - Repository: [LibreReads-client-app](https://github.com/Manya7547/LibreReads-client-app)\n\n3. **LibreReads - Elibrary Book Dashboard**\n   - Administrative dashboard for managing the library system\n   - Built with React, TypeScript, and Vite\n   - Technical Stack:\n     - shadcn/ui components with Tailwind CSS\n     - Zustand for auth state management\n     - React Query for server state\n     - React Router for navigation\n   - Features:\n     - Authentication system\n     - Responsive dashboard layout\n     - Complete books management system\n     - Protected routes\n     - File upload for books and cover images\n   - Repository: [LibreReads-elib-dashboard](https://github.com/Manya7547/LibreReads-elib-dashboard)\n\n## Features\n\n- User authentication and authorization\n- Book management (CRUD operations)\n- File uploads for book covers and PDF files\n- Cloud storage integration with Cloudinary\n- RESTful API architecture\n- TypeScript implementation\n\n## Prerequisites\n\n- Node.js (\u003e=16.20.1)\n- MongoDB\n- Cloudinary account\n\n## Installation\n\n1. Clone the repository:\n\n```bash\ngit clone \u003crepository-url\u003e\ncd elibrary\n```\n\n2. Install dependencies:\n\n```bash\nnpm install\n```\n\n3. Create a `.env` file in the root directory with the following variables:\n\n```\nPORT=3000\nMONGO_CONNECTION_STRING=your_mongodb_connection_string\nNODE_ENV=development\nJWT_SECRET=your_jwt_secret\nCLOUDINARY_CLOUD=your_cloudinary_cloud_name\nCLOUDINARY_API_KEY=your_cloudinary_api_key\nCLOUDINARY_API_SECRET=your_cloudinary_api_secret\nFRONTEND_DOMAIN=http://localhost:3000\n```\n\n## Running the Application\n\nDevelopment mode:\n\n```bash\nnpm run dev\n```\n\n## API Endpoints\n\n### Users\n\n- POST `/api/users` - Register a new user\n- POST `/api/users/login` - User login\n\n### Books\n\n- GET `/api/books` - List all books\n- GET `/api/books/:bookId` - Get a single book\n- POST `/api/books` - Create a new book (authenticated)\n- PATCH `/api/books/:bookId` - Update a book (authenticated)\n- DELETE `/api/books/:bookId` - Delete a book (authenticated)\n\n## Tech Stack\n\n- Express.js - Web framework\n- TypeScript - Programming language\n- MongoDB - Database\n- Mongoose - ODM\n- JWT - Authentication\n- Multer - File upload handling\n- Cloudinary - Cloud storage\n- CORS - Cross-origin resource sharing\n\n## System Architecture\n\nThe ELibrary system is composed of three interconnected applications:\n\n1. **Backend API (This Repository)**\n\n   - Serves as the central data management system\n   - Handles all database operations and file storage\n   - Provides authentication and authorization\n   - Runs on port 3000 by default\n\n2. **LibreReads Frontend**\n\n   - Public-facing website for end users\n   - Connects to the backend API for data\n   - Uses Cloudinary for image optimization\n   - Requires `BACKEND_URL` environment variable\n\n3. **Admin Dashboard**\n   - Administrative interface for content management\n   - Connects to the backend API (default: localhost:5513)\n   - Requires authentication for access\n   - Manages books and system content\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Author\n\nManya S \u003cmanya7547@gmail.com\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanya7547%2Flibrereads_elibrary","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanya7547%2Flibrereads_elibrary","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanya7547%2Flibrereads_elibrary/lists"}