{"id":25049248,"url":"https://github.com/aliwert/hospital-management-system","last_synced_at":"2025-12-15T19:02:34.274Z","repository":{"id":275217753,"uuid":"925171600","full_name":"aliwert/hospital-management-system","owner":"aliwert","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-25T01:13:38.000Z","size":121,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-25T02:25:28.965Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/aliwert.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,"zenodo":null}},"created_at":"2025-01-31T11:19:16.000Z","updated_at":"2025-06-25T01:13:41.000Z","dependencies_parsed_at":"2025-01-31T23:23:20.699Z","dependency_job_id":"b32c91a3-fabe-4d2e-b328-ce56ada23bd4","html_url":"https://github.com/aliwert/hospital-management-system","commit_stats":null,"previous_names":["aliwert/go-hospital-management","aliwert/hospital-management-system"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aliwert/hospital-management-system","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliwert%2Fhospital-management-system","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliwert%2Fhospital-management-system/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliwert%2Fhospital-management-system/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliwert%2Fhospital-management-system/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aliwert","download_url":"https://codeload.github.com/aliwert/hospital-management-system/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliwert%2Fhospital-management-system/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263361222,"owners_count":23454895,"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":["docker","fiber","gorm","heroku","jwt","microservice","postgresql"],"created_at":"2025-02-06T08:17:09.088Z","updated_at":"2025-12-15T19:02:29.230Z","avatar_url":"https://github.com/aliwert.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hospital Management System\n\nA modern hospital management system built with Go, providing a robust API for managing hospital operations including patient records, appointments, doctors, departments and more.\n\n## Features\n\n- 🏥 **Department Management**\n\n  - Create and manage hospital departments\n  - Assign head doctors\n  - Track department capacity and schedules\n\n- 👨‍⚕️ **Doctor Management**\n\n  - Doctor profiles and specializations\n  - Schedule management\n  - Availability tracking\n  - Performance metrics\n\n- 👤 **Patient Management**\n\n  - Patient registration and profiles\n  - Medical history\n  - Appointment scheduling\n  - Insurance information\n\n- 📅 **Appointment System**\n\n  - Schedule appointments\n  - Manage cancellations\n  - Payment tracking\n  - Automated notifications\n\n- 📝 **Medical Records**\n\n  - Digital record keeping\n  - Test results management\n  - Prescription tracking\n  - Treatment history\n\n- 🔒 **Security**\n  - Role-based access control\n  - JWT authentication\n  - Secure password handling\n  - API rate limiting\n\n## Tech Stack\n\n- **Backend**: Go (Fiber framework)\n- **Database**: PostgreSQL\n- **ORM**: GORM\n- **Authentication**: JWT\n- **File Storage**: AWS S3\n- **Containerization**: Docker\n\n## Prerequisites\n\n- Go 1.21 or higher\n- PostgreSQL 15 or higher\n- Docker and Docker Compose\n- AWS Account (for S3 storage)\n\n## Environment Variables\n\nCreate a `.env` file in the root directory:\n\n```env\n# Application\nAPP_PORT=8080\nJWT_SECRET=your-secret-key\n\n# Database\nDB_HOST=localhost\nDB_PORT=5432\nDB_USER=postgres\nDB_PASSWORD=your-beatiful-password\nDB_NAME=hospital_db\n\n# AWS Configuration\nAWS_REGION=your-region\nAWS_ACCESS_KEY_ID=your-access-key\nAWS_SECRET_ACCESS_KEY=your-secret-key\nAWS_BUCKET_NAME=your-bucket-name\n```\n\n# Installation\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/your-username/go-hospital-management.git\ncd go-hospital-management\n```\n\n2. Install dependencies:\n\n```bash\ngo mod download\n```\n\n3. Set up the database:\n\n```bash\n./scripts/setup-db.sh\n```\n\n4. Run locally:\n\n```bash\ngo run cmd/main.go\n```\n\n5. (Optional) or run with docker:\n\n```bash\ndocker-compose up --build\n```\n\n## API Documentation\n\n- **Authentication**\n\n  - POST /api/v1/auth/register - Register new user\n  - POST /api/v1/auth/login - User login\n  - POST /api/v1/auth/refresh - Refresh JWT token\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faliwert%2Fhospital-management-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faliwert%2Fhospital-management-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faliwert%2Fhospital-management-system/lists"}