{"id":19944483,"url":"https://github.com/nunoprolo/medicines","last_synced_at":"2026-05-09T05:31:30.871Z","repository":{"id":250612979,"uuid":"819110700","full_name":"NunopRolo/medicines","owner":"NunopRolo","description":"Web Medicines Application to manage portuguese medicines ","archived":false,"fork":false,"pushed_at":"2024-10-09T21:05:19.000Z","size":671,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-01T13:42:10.140Z","etag":null,"topics":["angular","java","medicines","spring-boot"],"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/NunopRolo.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-06-23T20:06:41.000Z","updated_at":"2024-10-09T21:05:17.000Z","dependencies_parsed_at":"2025-03-01T13:51:47.111Z","dependency_job_id":null,"html_url":"https://github.com/NunopRolo/medicines","commit_stats":null,"previous_names":["nunoprolo/medicines"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NunopRolo/medicines","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NunopRolo%2Fmedicines","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NunopRolo%2Fmedicines/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NunopRolo%2Fmedicines/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NunopRolo%2Fmedicines/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NunopRolo","download_url":"https://codeload.github.com/NunopRolo/medicines/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NunopRolo%2Fmedicines/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32808388,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"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":["angular","java","medicines","spring-boot"],"created_at":"2024-11-13T00:21:05.855Z","updated_at":"2026-05-09T05:31:30.850Z","avatar_url":"https://github.com/NunopRolo.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"[issue]: https://github.com/NunopRolo/medicines/issues\n\n![Medicines Backend Build](https://github.com/NunopRolo/medicines/actions/workflows/backend.yml/badge.svg)\n![Medicines Backend Build](https://github.com/NunopRolo/medicines/actions/workflows/frontend.yml/badge.svg)\n![Medicines Backend Tests Coverage](.github/badges/jacoco.svg)\n\n# Medicines\nMedicines app is a web application to manage portuguese medicines.\n\n## Functionalities\n* **Medicines List page**:\n    * List of medicines with pagination\n    * Search for medicines by any field\n    * Search medicine by medicine barcode scan\n* **Stock page**:\n    * List of medicines in stock, with color code to identify which medicines are with validity, without validity, and less than 1 month validity\n    * Search for medicines in stock, by any field\n    * Filter medicines list by validity status\n    * Add medicine to stock\n    * Delete medicine from stock\n    * Notification when medicine validity expires\n* **Medication Page**:\n    * Table with times of the day (Before Breakfast, Breakfast, etc) in the header\n    * In the table cells, there are the medicines associated with a time of the day\n    * Add medicine to a time of the day\n    * Delete medicine from the time of the day\n    * Add observations to the medicine entry\n    * Add image to a medicine\n    * Generate PDF of the medicines table\n    * Add temporary medication\n* **Settings Page:**\n    * Add persons\n    * Delete persons\n    * Add day periods\n    * Delete day periods\n\n## Run Through Docker (Recommended)\n```\ndocker-compose up\n```\n\n## Run separately\n\n### Java Backend Service\n\n* #### Environment Variables:\n```\nDATASOURCE_URL=\u003cpostgres_host\u003e:5432/\u003cpostgres_host\u003e\nDATASOURCE_USERNAME=\nDATASOURCE_PWD=\nWEBCLIENT_URL=http://\u003cHASS_HOST\u003e/api/services/persistent_notification/create\nHASS_TOKEN=\n```\nWEBCLIENT_URL and HASS_TOKEN are used for notification to Home Assistant.\n\n* ### Build:\n```\n./gradlew build\n```\n\n* ### Run:\n```\n./gradlew bootRun\n```\n\n### Frontend\n\n* ### Install:\n```\nnpm install\n```\n\n* ### Run:\n```\nng serve --host 0.0.0.0\n```\n\n* ### Open in the browser\n```\nhttp://localhost:4200\n```\n\n## Notes\n* Medicines recognition by camera only works with SSL, or with local environment.\n\n## Support\nOpen an issue [here][issue]","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnunoprolo%2Fmedicines","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnunoprolo%2Fmedicines","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnunoprolo%2Fmedicines/lists"}