{"id":27027273,"url":"https://github.com/prashantsaini1525/my-library","last_synced_at":"2025-12-30T20:06:00.130Z","repository":{"id":264467083,"uuid":"893394771","full_name":"prashantsaini1525/My-Library","owner":"prashantsaini1525","description":"Project 2 : My Library Management System built with Node.js, Express, \u0026 EJS for efficient book \u0026 author management.","archived":false,"fork":false,"pushed_at":"2025-03-25T11:29:15.000Z","size":1900,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T12:29:30.183Z","etag":null,"topics":["crud","crud-application","ejs","express","full-stack","javascript","library-management","library-management-system","nodejs","webpack"],"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/prashantsaini1525.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-11-24T10:35:22.000Z","updated_at":"2025-03-25T11:29:19.000Z","dependencies_parsed_at":"2025-03-25T12:40:40.264Z","dependency_job_id":null,"html_url":"https://github.com/prashantsaini1525/My-Library","commit_stats":null,"previous_names":["prashantsaini1525/projectsetup","prashantsaini1525/my-library"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prashantsaini1525%2FMy-Library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prashantsaini1525%2FMy-Library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prashantsaini1525%2FMy-Library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prashantsaini1525%2FMy-Library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prashantsaini1525","download_url":"https://codeload.github.com/prashantsaini1525/My-Library/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247261557,"owners_count":20910109,"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","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":["crud","crud-application","ejs","express","full-stack","javascript","library-management","library-management-system","nodejs","webpack"],"created_at":"2025-04-04T23:18:04.426Z","updated_at":"2025-12-30T20:06:00.033Z","avatar_url":"https://github.com/prashantsaini1525.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MyLibrary\n\nMyLibrary is a simple library management web application built with Node.js, Express, and MongoDB (using Mongoose). This project demonstrates CRUD operations for managing authors and books, including uploading a cover image for each book.\n\n---\n\n## Demo Video\n\n\u003cdetails\u003e\n  \u003csummary\u003e\u003cstrong\u003eClick to watch the demo video\u003c/strong\u003e\u003c/summary\u003e\n  \u003cp\u003e\n    \u003ca href=\"https://drive.google.com/drive/folders/1vchIKN0NuujQC6HbHTOMXx2jyICYIZYZ?usp=sharing\" target=\"_blank\"\u003e\n      \u003cimg src=\"./public/assets/Landing Page.png\" alt=\"Demo Video\" width=\"600\" style=\"max-width:100%;\"\u003e\n    \u003c/a\u003e\n  \u003c/p\u003e\n\u003c/details\u003e\n\n---\n\n## Screenshots\n\nBelow is a grid of screenshots demonstrating various pages of the application:\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\u003cimg src=\"./public/assets/Landing Page.png\" alt=\"Screenshot 1\" width=\"300\" style=\"max-width:100%;\"\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003cimg src=\"./public/assets/Search Books Page.png\" alt=\"Screenshot 2\" width=\"300\" style=\"max-width:100%;\"\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\u003cimg src=\"./public/assets/Add New Book Page.png\" alt=\"Screenshot 3\" width=\"300\" style=\"max-width:100%;\"\u003e\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003cimg src=\"./public/assets/Search Authors.png\" alt=\"Screenshot 4\" width=\"300\" style=\"max-width:100%;\"\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd colspan=\"2\" align=\"center\"\u003e\u003cimg src=\"./public/assets/Add New Author.png\" alt=\"Screenshot 5\" width=\"300\" style=\"max-width:100%;\"\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n## Features\n\n- **Author Management:**\n\n  - Add, update, and delete authors\n  - View a list of authors\n\n- **Book Management:**\n\n  - Add, update, and delete books\n  - Upload a cover image for each book\n  - View a list of books\n\n- **CRUD Demonstration:**\n  - A simple example to illustrate managing related data using Node.js, Express, and MongoDB\n\n## Project Motivation\n\nThe primary goal of MyLibrary is to serve as a learning tool for basic CRUD operations. It demonstrates how authors and books (with cover images) can be managed using a modern web stack. This project does not include full book file uploads (such as PDFs), keeping the focus on core functionality.\n\n## Installation\n\n1. **Clone the repository:**\n\n   ```bash\n   git clone https://github.com/prashantsaini1525/MyLibrary.git\n   cd MyLibrary\n   ```\n\n2. **Install dependencies:**\n\n   ```bash\n   npm install\n   ```\n\n3. **Set Up Environment Variables:**\n\n- Create a .env file in the root directory with your configuration:\n\n  ```bash\n  MONGO_URI=your_mongodb_connection_string\n  PORT=3000\n  ```\n\n4. **Run the Application:**\n\n- Start the server:\n\n  ```bash\n  npm start\n  ```\n\n- Or use development mode:\n\n  ```bash\n  npm run devStart\n  ```\n\n5. **Access the Application:**\n\n- Open your browser and navigate to http://localhost:3000.\n\n## Project Structure\n\n- **server.js:** Main file setting up Express and connecting to MongoDB.\n\n- **models/:** Contains Mongoose models for Authors and Books.\n\n- **views/:** Contains EJS templates for rendering the UI.\n\n- **public/:** Contains static assets (including cover images).\n\n--- \n\n## Future Enhancements\n\n- **Book File Uploads:**\nAdd functionality to allow uploading complete book files (e.g., PDFs) using middleware like Multer.\n\n- **User Authentication:**\nImplement authentication for managing access to book and author data.\n\n- **Enhanced UI/UX:**\nImprove the frontend with modern frameworks or design enhancements.\n\n## Contributing\n\nContributions are welcome! Feel free to fork the repository, open pull requests, or submit issues with suggestions and bug reports.\n\n## 📄 License\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprashantsaini1525%2Fmy-library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprashantsaini1525%2Fmy-library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprashantsaini1525%2Fmy-library/lists"}