{"id":50538350,"url":"https://github.com/prayagupa/appointment-system","last_synced_at":"2026-06-03T18:02:12.859Z","repository":{"id":9768535,"uuid":"11738185","full_name":"prayagupa/appointment-system","owner":"prayagupa","description":"doctor appointment from ejb to gRPC","archived":false,"fork":false,"pushed_at":"2026-05-17T14:51:38.000Z","size":187,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-05-17T16:51:24.979Z","etag":null,"topics":["ejb","java"],"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/prayagupa.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2013-07-29T11:38:42.000Z","updated_at":"2026-05-17T14:52:03.000Z","dependencies_parsed_at":"2022-08-25T21:41:16.192Z","dependency_job_id":null,"html_url":"https://github.com/prayagupa/appointment-system","commit_stats":null,"previous_names":["prayagupa/appointment-system"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/prayagupa/appointment-system","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prayagupa%2Fappointment-system","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prayagupa%2Fappointment-system/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prayagupa%2Fappointment-system/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prayagupa%2Fappointment-system/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prayagupa","download_url":"https://codeload.github.com/prayagupa/appointment-system/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prayagupa%2Fappointment-system/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33876328,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-03T02:00:06.370Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["ejb","java"],"created_at":"2026-06-03T18:02:11.681Z","updated_at":"2026-06-03T18:02:12.851Z","avatar_url":"https://github.com/prayagupa.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# appointment-rpc\n\nMulti-tenant appointment scheduling for healthcare providers and other organizations, with gRPC for service-to-service integration and a web UI for booking.\n\n**Package:** `com.pratyabhi`\n\n## Stack\n\n- Java 21, Spring Boot 3.4\n- gRPC + Protocol Buffers\n- REST API + web UI (static)\n- PostgreSQL 17, Liquibase\n- Docker, Kubernetes manifests\n\n## Quick start\n\n```bash\ndocker compose up -d postgres\n./gradlew bootRun\n```\n\n| Endpoint | URL |\n|----------|-----|\n| **Web UI** | http://localhost:8080/ |\n| gRPC | localhost:9090 |\n| Health | http://localhost:8080/actuator/health |\n| Metrics | http://localhost:8080/actuator/prometheus |\n\nDefault profile `dev` loads seed tenants and providers.\n\n### Web UI\n\n1. Open http://localhost:8080/\n2. Select **City Health Clinic** (or another tenant)\n3. Select a provider, pick a date and slot, book an appointment\n4. View and cancel appointments in the list panel\n\n### gRPC example: get provider\n\n```bash\ngrpcurl -plaintext \\\n  -H 'x-tenant-id: 11111111-1111-1111-1111-111111111111' \\\n  -import-path src/main/proto \\\n  -proto appointment/v1/appointment.proto \\\n  -d '{\"provider_id\":\"aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa\"}' \\\n  localhost:9090 appointment.v1.AppointmentService/GetProvider\n```\n\n## REST API (for UI / integrations)\n\nAll routes except `GET /api/tenants` require header `X-Tenant-Id: \u003ctenant-uuid\u003e`.\n\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | `/api/tenants` | List tenants |\n| GET | `/api/providers` | List providers |\n| GET | `/api/availability` | Query slots (`providerId`, `from`, `to`, `slotMinutes`) |\n| GET | `/api/appointments` | List appointments (`providerId` optional) |\n| POST | `/api/appointments` | Book appointment |\n| POST | `/api/appointments/{id}/cancel` | Cancel appointment |\n\n## Tests\n\n```bash\n./gradlew test\n```\n\n## Docker\n\n```bash\ndocker compose up --build\n```\n\nUI: http://localhost:8080/\n\n## Docs\n\n- [SDS](docs/sds.md)\n- [Execution plan](docs/execution-plan.md)\n- [Runbook](docs/runbook.md)\n- [Product thoughts](docs/thoughts.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprayagupa%2Fappointment-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprayagupa%2Fappointment-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprayagupa%2Fappointment-system/lists"}