{"id":18187892,"url":"https://github.com/0bvim/appointment_book","last_synced_at":"2025-04-07T13:47:23.735Z","repository":{"id":216455445,"uuid":"741378155","full_name":"0bvim/appointment_book","owner":"0bvim","description":"This repository to solve a challenge where you need to create a system that runs in terminal and register patients, appointments and cancel them too.","archived":false,"fork":false,"pushed_at":"2024-01-14T18:33:50.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T16:43:34.152Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/0bvim.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}},"created_at":"2024-01-10T09:18:10.000Z","updated_at":"2024-01-10T09:20:48.000Z","dependencies_parsed_at":"2024-01-14T19:41:22.002Z","dependency_job_id":"c117cc02-daa5-487c-ac67-d09ec8455d2a","html_url":"https://github.com/0bvim/appointment_book","commit_stats":null,"previous_names":["vinicius-f-pereira/appointment_book","0xniv/appointment_book","0bvim/appointment_book"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0bvim%2Fappointment_book","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0bvim%2Fappointment_book/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0bvim%2Fappointment_book/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0bvim%2Fappointment_book/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0bvim","download_url":"https://codeload.github.com/0bvim/appointment_book/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247666007,"owners_count":20975786,"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":[],"created_at":"2024-11-03T02:03:49.494Z","updated_at":"2025-04-07T13:47:23.582Z","avatar_url":"https://github.com/0bvim.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"[Versão em Português](README.pt-BR.md)\n# Appointment book\nThis repository was created to solve a challenge where you need to create a system that runs in terminal and register patients,  schedule  and cancel appointments.\n# Dependencies\nEnsure that you have ruby installed `(v3.3.15)` to run correctly. Run command `ruby -v` to verify version.\n\n## How to use\n`clone the repository`\n\n### SSH\n```ssh\ngit clone git@github.com:vinicius-f-pereira/appointment_book.git; cd appointment_book\n```\n### HTTP\n```html\ngit clone https://github.com/vinicius-f-pereira/appointment_book.git; cd appointment_book\n```\n### GH CLI\n```bash\ngh repo clone vinicius-f-pereira/appointment_book; cd appointment_book\n```\n\n## Run the project\n```bash\nruby main.c\n```\n\n### Options\n1. Cadastrar paciente `register patient`\n2. Agendar consulta `schedule appointment`\n3. Desmarcar consulta `cacel appointment`\n4. Encerrar programa `finish program`\n\n### Register patient\n```text\nThis option ask for name and phone of patient.\nPhone need to be in this pattern: Country code, area code and phone number.\nAt register a patienc for the first time, program will create a file '.db' to store this data.\nIf you close program and run again, you data will be read from this file and you keep data saved in past sessions.\n```\n\n### Schedule appointment\n```text\nTo this option works, you need to have at least one patient registered.\nWhen you choose this option, a prompt with registered patients will appear, so you choose patient and start the appointment.\nEnter the consultation date and time. Date pattern: \"dd/MM/yyyy\" Time pattern: \"HH:MM\" (is not possible schedule in past dates)\nInsert medical speciality.\n```\n\n### Cancel appointment\n```text\nTo this option works, we need at least one appointment.\nWill prompt existing appointments, choose one.\n```\n\n### Finish program\n```text\nFinish program\n```\n\n\n\n  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0bvim%2Fappointment_book","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0bvim%2Fappointment_book","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0bvim%2Fappointment_book/lists"}