{"id":26258794,"url":"https://github.com/kaloyanov5/library-app","last_synced_at":"2026-04-13T18:32:39.437Z","repository":{"id":277035822,"uuid":"931113794","full_name":"Kaloyanov5/library-app","owner":"Kaloyanov5","description":"Library Searching App in Swing Java","archived":false,"fork":false,"pushed_at":"2025-02-17T06:17:04.000Z","size":20,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-28T06:17:42.513Z","etag":null,"topics":["java","swing"],"latest_commit_sha":null,"homepage":"","language":"Java","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/Kaloyanov5.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-02-11T18:32:39.000Z","updated_at":"2025-02-20T18:16:35.000Z","dependencies_parsed_at":"2025-02-11T19:51:43.218Z","dependency_job_id":null,"html_url":"https://github.com/Kaloyanov5/library-app","commit_stats":null,"previous_names":["kaloyanov5/library-app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Kaloyanov5/library-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kaloyanov5%2Flibrary-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kaloyanov5%2Flibrary-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kaloyanov5%2Flibrary-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kaloyanov5%2Flibrary-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kaloyanov5","download_url":"https://codeload.github.com/Kaloyanov5/library-app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kaloyanov5%2Flibrary-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31766470,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T15:25:13.801Z","status":"ssl_error","status_checked_at":"2026-04-13T15:25:09.162Z","response_time":93,"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":["java","swing"],"created_at":"2025-03-13T22:14:18.568Z","updated_at":"2026-04-13T18:32:39.420Z","avatar_url":"https://github.com/Kaloyanov5.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Library-App\nA Java-based Library Management System with a **GUI (Swing)**, supporting **In-Memory** and **MySQL Database** storage options.  \n\n## Features\n- Add, Search, and Remove Books\n- Search by Title and Author\n- Choose between In-Memory and MySQL Storage\n- Swing GUI Interface\n\n## Technologies Used\n- Java 23\n- Swing (for GUI)\n- JDBC (for database conenction)\n- MySQL (for database storage)\n\n## Setup \u0026 Installation\n\n### 1️⃣ **Clone the Repository**\n\nClone the repository to your local machine:\n``` bash\ngit clone https://github.com/Kaloyanov5/Library-App.git\ncd Library-System\n```\n### 2️⃣ Download JDBC Driver\nTo use the **DatabaseBookRepository**, you need the **JDBC driver** for MySQL:\n- Download the **MySQL Connector/J** (JDBC driver) from the [official MySQL website](https://dev.mysql.com/downloads/connector/j/).\n- After downloading, add the JDBC JAR file to your project classpath.\n\nIf you're using **IntelliJ IDEA**, follow these steps to add the driver:\n- Open **Project Structure** (File \u003e Project Structure).\n- Navigate to **Libraries** and click the `+` sign.\n- Select the downloaded JDBC JAR file to add it as a library.\n\n### 3️⃣ **Compile and Run (Using IntelliJ or Terminal)**\n\n#### Using IntelliJ IDEA:\n- Open the project in IntelliJ IDEA.\n- Select **Main.java** as the main class.\n- Click **Run** ▶️.\n\n#### Using Command Line:\n```bash\njavac -d out src/Main.java\njava -cp out Main\n```\n### 4️⃣ **Database Setup (Optional)**\n\nIf you're using **DatabaseBookRepository**, follow these steps to configure the database:\n\n- **MySQL Connection**: Ensure your database connection settings are correct in the `db_config.properties` file located in the `resources/` folder.\n- **Table Creation**: Run the `schema.sql` script (found in `src/database`) in **MySQL Workbench** to create the necessary tables in your MySQL database.\n\n## Usage\n1. Run the program.\n2. Select either **In-Memory Storage** or **Database Storage**.\n3. Use the **GUI** to add, search, or remove books.\n4. View the results in the **output area** of the GUI.\n\n## License\nThis project is open-source and available under the **MIT License**.\n\n## Contributing\nFeel free to submit pull requests!\nFor major changes, please open an issue first to discuss your ideas\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaloyanov5%2Flibrary-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkaloyanov5%2Flibrary-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaloyanov5%2Flibrary-app/lists"}