{"id":21669330,"url":"https://github.com/attack-monkey/zomato-aligent","last_synced_at":"2026-04-28T12:33:22.873Z","repository":{"id":91874081,"uuid":"173006929","full_name":"attack-monkey/zomato-aligent","owner":"attack-monkey","description":"A little Zomato Test","archived":false,"fork":false,"pushed_at":"2019-03-05T18:58:51.000Z","size":103,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-31T07:38:53.922Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/attack-monkey.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":"2019-02-27T23:34:27.000Z","updated_at":"2019-03-05T18:58:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"d9fab9a1-c266-4819-84c7-7545b335aab3","html_url":"https://github.com/attack-monkey/zomato-aligent","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/attack-monkey/zomato-aligent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/attack-monkey%2Fzomato-aligent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/attack-monkey%2Fzomato-aligent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/attack-monkey%2Fzomato-aligent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/attack-monkey%2Fzomato-aligent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/attack-monkey","download_url":"https://codeload.github.com/attack-monkey/zomato-aligent/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/attack-monkey%2Fzomato-aligent/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32381522,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T11:25:28.583Z","status":"ssl_error","status_checked_at":"2026-04-28T11:25:05.435Z","response_time":56,"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":[],"created_at":"2024-11-25T12:20:56.500Z","updated_at":"2026-04-28T12:33:22.823Z","avatar_url":"https://github.com/attack-monkey.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Install \u0026 Run\n\n- This project relies on npm. This will need to be installed before moving forward.\n- Once npm is installed...\n- Unzip the project\n- Boot up the server side project...\n    - `cd` into the server dir\n    - Ensure that you create a `zomato-api-key.const.js` file in the root of the server dir\n\n    _Add your api key into the file you just created_\n\n    ```javascript\n\n    // Note: this is my real api key for a basic account...\n    // Normally I wouldn't commit this to source - but for simplicity sake, here it is...\n\n    module.exports = '00eb7c42ec7ccf5f9188a5792fd05afb';\n\n    ```\n\n    - `npm install` - Install the project's dependencies\n    - `npm start` - will boot up a node.js server on localhost:3000\n    \n- Boot up the client side project...\n    - `cd` into the client dir\n    - `npm install -g parcel-bundler` - This is the bundler that will compile the project\n    - `npm install` - Install the project's dependencies.\n    - `npm start` - will boot up the app on localhost:1234\n\n# Understanding the Project\n\n## Features\n\n- Uses React-Fn framework, which is a micro framework around React that promotes a functional approach, but as an\nalternative to Redux.\n- Default map of cuisines and categories allows instant load, but is then verified once the real api calls are returned.\n- Server side app layer provides a cache to reduce api calls and protect api key.\n\n## Client side\n\nThe client-side app uses React-Fn. A functional approach to React that I built as an alternative to Redux style actions. _A similar approach to something like Hyperapp_.\n\nThe Project running on local is expected to be run with parcel.js. Parcel is a zero config approach to bundling as opposed to webpack which can require quite a lot of config to get it working correctly.\n\nThe project is written in typescript. While the project is quite functional, types and interfaces help especially with code completion and linting.\n\n## Server side\n\nThe Serverside is a basic node.js express app.\n\nThere are 2 main reasons for having a server-side part to the project.  \nFirstly it hides the api-key away from the client-side, so other parties cannot use the api with this key.  \nSecondly it allows the ability to add a caching layer. Since categories and cuisines is likely to be \nrelatively stable, it makes good sense to have a cache to speed things up and reduce calls.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fattack-monkey%2Fzomato-aligent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fattack-monkey%2Fzomato-aligent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fattack-monkey%2Fzomato-aligent/lists"}