{"id":19696233,"url":"https://github.com/mithi/hotels","last_synced_at":"2026-02-17T15:31:22.617Z","repository":{"id":236534271,"uuid":"792797569","full_name":"mithi/hotels","owner":"mithi","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-04T08:40:44.000Z","size":6888,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-12T05:39:38.251Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/mithi.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}},"created_at":"2024-04-27T15:57:15.000Z","updated_at":"2025-02-05T07:56:54.000Z","dependencies_parsed_at":"2024-11-11T19:35:43.200Z","dependency_job_id":"3d88f353-7735-4845-a185-607a2a5674dd","html_url":"https://github.com/mithi/hotels","commit_stats":null,"previous_names":["mithi/hotels"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mithi/hotels","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mithi%2Fhotels","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mithi%2Fhotels/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mithi%2Fhotels/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mithi%2Fhotels/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mithi","download_url":"https://codeload.github.com/mithi/hotels/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mithi%2Fhotels/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274533282,"owners_count":25303526,"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","status":"online","status_checked_at":"2025-09-10T02:00:12.551Z","response_time":83,"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":[],"created_at":"2024-11-11T19:34:22.070Z","updated_at":"2026-02-17T15:31:22.571Z","avatar_url":"https://github.com/mithi.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hotels\n\n## Features\n\n### Hotel Results Display\n\n- ✅ Retrieve hotel information and prices and display as I see fit.\n- ✅ If hotel result don't have price, show \"Rates Unavailable\" and push it to the bottom of list\n- ✅ If prices exist without hotel details, do not show.\n\n|                                          |\n| ---------------------------------------- |\n| ![](./screenshots/display-results/1.png) |\n\n### Currency Selection\n\n- ✅ Allow users to switch currencies and display prices based on selected currency\n- ✅ Refreshing the page should show the last currency selected\n- ✅ Default currency to USD if no currency was last selected.\n\n|                                             |                                             |\n| ------------------------------------------- | ------------------------------------------- |\n| ![](./screenshots/currency-selection/1.png) | ![](./screenshots/currency-selection/2.png) |\n\n### Price Rounding Based on Currency\n\n- ✅ Prices are rounded. USD, SGD, CNY are rounded to the nearest dollar. KRW, JPY, IDR rounded to the nearest 100-dollars.\n\n|                                         |                                         |                                         |                                         |\n| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- |\n| ![](./screenshots/price-rounding/1.png) | ![](./screenshots/price-rounding/2.png) | ![](./screenshots/price-rounding/3.png) | ![](./screenshots/price-rounding/4.png) |\n\n### Competitor Displays\n\n- ✅ Display competitor rates within results, order from cheapest to most expensive.\n- ✅ UI should work when there's no / too many competitions available.\n- ✅ Also show our rates in the competition list.\n\n|                                           |                                           |                                           |\n| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- |\n| ![](./screenshots/rates-comparison/1.png) | ![](./screenshots/rates-comparison/2.png) | ![](./screenshots/rates-comparison/3.png) |\n\n### Savings\n\n- ✅ When applicable, should display \"Save X%\", if a more expensive competitor exists, show a strikethrough rate of the most expensive competitor price.\n\n|                                  |\n| -------------------------------- |\n| ![](./screenshots/savings/1.png) |\n\n### Taxes and Fees\n\n- ✅ When applicable, show an asterisk to indicate our price is tax-inclusive.\n- ✅ On hover, pop-up displays the breakdown of the rates.\n- ✅ If tax and fees are given that means the current price is tax-inclusive and this should be highlighted\n\n|                                         |\n| --------------------------------------- |\n| ![](./screenshots/taxes-and-fees/1.png) |\n\n## Expectations\n\n- Correctness, write and run tests\n- Readability, easy to understand\n- Consistency - 2 similar use cases / displays, centralized handling\n- Testing - Emphasize having tests to ensure reliable code, write specs for essential logic in your features\n\n[Specifications](https://gist.github.com/mal90/4627e6beb44ec038b90f64ea1bb30638)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmithi%2Fhotels","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmithi%2Fhotels","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmithi%2Fhotels/lists"}