{"id":23252680,"url":"https://github.com/ysebo/database_final_project","last_synced_at":"2026-04-10T23:52:35.344Z","repository":{"id":267684988,"uuid":"900913408","full_name":"ysebo/database_final_project","owner":"ysebo","description":"Hospital Management System","archived":false,"fork":false,"pushed_at":"2024-12-15T15:12:36.000Z","size":2791,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-12T08:56:57.534Z","etag":null,"topics":["database","java","jdbc","postgresql","swing"],"latest_commit_sha":null,"homepage":"","language":"Java","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/ysebo.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-12-09T17:44:50.000Z","updated_at":"2024-12-15T15:00:47.000Z","dependencies_parsed_at":"2025-02-12T08:42:48.664Z","dependency_job_id":"d099dddc-e0f6-4529-9821-823203eaa18d","html_url":"https://github.com/ysebo/database_final_project","commit_stats":null,"previous_names":["ysebo/database_final_project"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysebo%2Fdatabase_final_project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysebo%2Fdatabase_final_project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysebo%2Fdatabase_final_project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysebo%2Fdatabase_final_project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ysebo","download_url":"https://codeload.github.com/ysebo/database_final_project/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247426981,"owners_count":20937197,"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":["database","java","jdbc","postgresql","swing"],"created_at":"2024-12-19T10:17:37.136Z","updated_at":"2026-04-10T23:52:30.292Z","avatar_url":"https://github.com/ysebo.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hospital Management System\n\n## Project Overview\nThe **Hospital Management System** is a Java-based application designed to streamline hospital operations such as managing departments, doctors, patients, appointments, and medical records. The system integrates a PostgreSQL database to ensure data consistency and accessibility, while the application provides a user-friendly interface for efficient operation.\n\n---\n\n## Features\n- **Database Integration**: Centralized relational database using PostgreSQL.\n- **Role-based Access**: Separate functionalities for doctors and patients.\n- **Appointment Management**: Scheduling, updating, and viewing appointments.\n- **Medical Records**: Storage and retrieval of patient history and treatment details.\n- **Department Management**: Association of doctors with departments for better organization.\n\n---\n\n## Technologies Used\n- **Programming Language**: Java\n- **Database**: PostgreSQL\n- **GUI Framework**: Swing Library (optional for GUI development)\n- **Database Connectivity**: JDBC\n\n---\n\n## Getting Started\n### Prerequisites\n1. Install **Java** (version 8 or above).\n2. Install **PostgreSQL** (version 12 or above).\n3. IDE of choice (e.g., IntelliJ IDEA, Eclipse).\n\n### Setting Up the Database\n1. Create a PostgreSQL database named `hospital`.\n2. Connect to the database using:\n    ```java\n    private static final String url = \"jdbc:postgresql://localhost:5432/hospital\";\n    private static final String username = \"postgres\";\n    private static final String password = \"1234\";\n    ```\n    Update these details as per your local configuration.\n3. Execute the `DDL.sql` file located in `src/main/resources` to create the required tables and relationships.\n\n### Project Setup\n1. Clone this repository:\n    ```bash\n    git clone https://github.com/ysebo/database_final_project.git\n    ```\n2. Import the project into your IDE.\n3. Add the PostgreSQL JDBC Driver to your project dependencies.\n4. Run the application.\n\n---\n\n## Usage\n1. **Database Initialization**:\n   - Use `DDL.sql` to set up the database structure.\n\n2. **Application Execution**:\n   - For GUI: Launch the Swing based application to interact with the system via a graphical interface(using Main.java .\n\n3. **Key Operations**:\n   - Add, update, or delete doctors, patients, appointments, and medical records.\n   - View department-wise doctor allocation.\n   - Retrieve and update patient treatment histories.\n\n---\n\n## Folder Structure\n```\nHospital Management System\n├── src\n│   ├── main\n│   │   │ └──├──controller\n│   │   │    ├── model\n│   │   │    ├── service\n|   |   |    ├── viewer\n|   |   |    ├── db\n│   │   │    └── Main.java\n│   │   ├── resources\n│   │   │   ├── DDL.sql\n│\n├── README.md\n```\n## License\nThis project is licensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fysebo%2Fdatabase_final_project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fysebo%2Fdatabase_final_project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fysebo%2Fdatabase_final_project/lists"}