{"id":15209037,"url":"https://github.com/zkaraqy/book-directory","last_synced_at":"2026-04-05T18:33:21.054Z","repository":{"id":252934926,"uuid":"837618441","full_name":"zkaraqy/book-directory","owner":"zkaraqy","description":"Simple web app for search a book and manage it in personal collection or favorites. This project is my project-based-learning for authentication, database, and new technologies I have learned. ","archived":false,"fork":false,"pushed_at":"2025-07-14T07:33:07.000Z","size":665,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-14T10:02:56.955Z","etag":null,"topics":["collaborate","communityexchange","daisyui","educative","ejs","expressjs","github","github-pages","google-books-api","html-css-javascript","learn","microsoft","mongodb","nodejs","rest-api","tailwindcss","web-application","web-development","webapp"],"latest_commit_sha":null,"homepage":"","language":"CSS","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/zkaraqy.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-08-03T14:01:36.000Z","updated_at":"2025-07-14T07:33:11.000Z","dependencies_parsed_at":"2024-09-28T07:20:49.854Z","dependency_job_id":null,"html_url":"https://github.com/zkaraqy/book-directory","commit_stats":{"total_commits":16,"total_committers":1,"mean_commits":16.0,"dds":0.0,"last_synced_commit":"c3077232b6a747c6494ed921a6de5106e39427d3"},"previous_names":["zkaraqy/book-directory"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zkaraqy/book-directory","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkaraqy%2Fbook-directory","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkaraqy%2Fbook-directory/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkaraqy%2Fbook-directory/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkaraqy%2Fbook-directory/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zkaraqy","download_url":"https://codeload.github.com/zkaraqy/book-directory/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zkaraqy%2Fbook-directory/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31446526,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T15:22:31.103Z","status":"ssl_error","status_checked_at":"2026-04-05T15:22:00.205Z","response_time":75,"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":["collaborate","communityexchange","daisyui","educative","ejs","expressjs","github","github-pages","google-books-api","html-css-javascript","learn","microsoft","mongodb","nodejs","rest-api","tailwindcss","web-application","web-development","webapp"],"created_at":"2024-09-28T07:20:46.064Z","updated_at":"2026-04-05T18:33:21.038Z","avatar_url":"https://github.com/zkaraqy.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Book Directory\n\n## Overview\nBook Directory is a simple web application that allows users to search for and manage books in a personal collection. The application integrates with the Google Books API to fetch book information and provides user authentication, allowing users to sign up, log in, and manage their book collections.\n\n## Preview URL\n\u003ca href=\"https://books-directory.up.railway.app/\" target=\"_blank\"\u003eClick Me!\u003c/a\u003e (Non-active)\n\n## Features\n- **Search Books**: Search for books using the Google Books API.\n- **User Authentication**: Sign up, log in, and log out functionality.\n- **Manage Collections**: Users can add books to their personal collection or favorites and view them.\n- **Responsive Design**: The application is responsive and works well on various devices.\n\n## Technologies Used\n- **Backend**: Node.js, Express.js, MongoDB\n- **Frontend**: EJS (Template Engine), Tailwind CSS\n- **API Integration**: Google Books API\n- **Session Management**: Express-Session\n\n## Installation\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/zkaraqy/book-directory.git\n   ```\n2. Navigate to the project directory:\n   ```bash\n   cd book-directory\n   ```\n3. Install the dependencies:\n   ```bash\n   npm install\n   ```\n4. Set up environment variables:\n   - Create a `.env` file in the root directory.\n   - Add the following environment variables:\n     ```\n     PORT=3000\n     DB_URI=your_mongodb_connection_string\n     ```\n\n5. Start the application:\n   ```bash\n   npm start\n   ```\n\n6. Open your browser and go to `http://localhost:3000`.\n\n## Usage\n\n- **Sign Up**: Create a new user account.\n- **Log In**: Log in with your credentials.\n- **Search for Books**: Use the search bar to find books by title.\n- **Add to Collection**: Save books to your personal collection or favorites.\n- **View Collection**: Access your collection from your profile.\n\n## Folder Structure\n\n- **`config/`**: Configuration files for the database, session, and other settings.\n- **`controllers/`**: Handles the application's business logic.\n- **`middleware/`**: Custom middleware functions.\n- **`public/`**: Static files such as CSS, JavaScript, and images.\n- **`routes/`**: Route definitions for the application.\n- **`services/`**: Services like the Google Books API integration.\n- **`utils/`**: Utility functions used across the application.\n- **`views/`**: EJS templates for rendering the UI.\n\n## Contributing\nFeel free to fork this repository, make changes, and submit pull requests. For major changes, please open an issue first to discuss what you would like to change.\n\n## License\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzkaraqy%2Fbook-directory","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzkaraqy%2Fbook-directory","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzkaraqy%2Fbook-directory/lists"}