{"id":25181901,"url":"https://github.com/bakangmonei/shellscriptingassignment","last_synced_at":"2026-04-07T09:31:32.193Z","repository":{"id":235278453,"uuid":"790274823","full_name":"BakangMonei/ShellScriptingAssignment","owner":"BakangMonei","description":"Shell script assignment for a RESTURANT RESERVATION SYSTEM and a PARKING CHARGE CALCULATION SYSTEM","archived":false,"fork":false,"pushed_at":"2024-04-22T15:59:17.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"neizatheedev","last_synced_at":"2025-07-12T06:38:42.774Z","etag":null,"topics":["cpp","csharp","kernel","linux","shell-script"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/BakangMonei.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-04-22T15:27:37.000Z","updated_at":"2024-04-22T21:03:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"eecaee18-f3fa-4c58-ba83-5c8744bdf21d","html_url":"https://github.com/BakangMonei/ShellScriptingAssignment","commit_stats":null,"previous_names":["bakangmonei/shellscriptingassignment"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BakangMonei/ShellScriptingAssignment","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BakangMonei%2FShellScriptingAssignment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BakangMonei%2FShellScriptingAssignment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BakangMonei%2FShellScriptingAssignment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BakangMonei%2FShellScriptingAssignment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BakangMonei","download_url":"https://codeload.github.com/BakangMonei/ShellScriptingAssignment/tar.gz/refs/heads/neizatheedev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BakangMonei%2FShellScriptingAssignment/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31507959,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cpp","csharp","kernel","linux","shell-script"],"created_at":"2025-02-09T17:28:34.740Z","updated_at":"2026-04-07T09:31:32.172Z","avatar_url":"https://github.com/BakangMonei.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Assignment: Parking Charges Calculator and Restaurant Reservation System\n\nThis repository contains two shell script-based assignments: one for calculating parking charges for a garage and the other for managing restaurant reservations.\n\n## Parking Charges Calculator\n\n### Description\n\nThe Parking Charges Calculator script calculates and prints parking charges for customers who parked their cars in the garage yesterday. The garage charges a minimum fee of P2.00 to park up to 3 hours and an additional fee of P0.50 per hour for each hour or part thereof over three hours. The maximum charge for any given 24-hour period is P10.00, and no car parks for longer than 24 hours. The script prompts the user to enter the hours parked for each customer and prints the results in a tabular format. Additionally, the script calculates and prints the total of yesterday's receipts.\n\n### Usage\n\n1. Clone the repository:\n\n    ```bash\n    git clone https://github.com/BakangMonei/ShellScriptingAssignment\n    ```\n\n2. Navigate to the project directory:\n\n    ```bash\n    cd Question1\n    ```\n\n3. Run the script:\n\n    ```bash\n    ./parking_charges_calculator.sh\n    ```\n\n4. Follow the on-screen prompts to enter the hours parked for each customer.\n5. The script will print the results in a tabular format and calculate the total receipts for the day.\n\n## Restaurant Reservation System\n\n### Description\n\nThe Restaurant Reservation System script allows users to manage reservations efficiently. It includes functionalities such as displaying available tables, making reservations, canceling bookings, and printing all bookings. The script provides a user-friendly interface and prompts the user for input as required. It calculates charges for parking based on the given rules and ensures proper validation of input.\n\n### Usage\n\n1. Clone the repository:\n\n    ```bash\n    git clone https://github.com/BakangMonei/ShellScriptingAssignment\n    ```\n\n2. Navigate to the project directory:\n\n    ```bash\n    cd Question2\n    ```\n\n3. Run the script:\n\n    ```bash\n    ./resturant_reservation_system.sh\n    ```\n\n4. Follow the on-screen menu to make a booking, cancel a booking, print all bookings, or exit the system.\n5. The script will guide you through the process and provide relevant options based on your selection.\n\n### Notes\n\n- Ensure proper permissions are set to execute the scripts (`parking_charges_calculator.sh` and `resturant_reservation_system.sh`).\n- These scripts are provided as a demonstration and may not cover all edge cases or error scenarios.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbakangmonei%2Fshellscriptingassignment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbakangmonei%2Fshellscriptingassignment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbakangmonei%2Fshellscriptingassignment/lists"}