{"id":13305516,"url":"https://github.com/Stanico-Knowles/random-food-place-api","last_synced_at":"2025-03-10T13:31:19.653Z","repository":{"id":41812812,"uuid":"486314289","full_name":"Stanico-Knowles/random-food-place-api","owner":"Stanico-Knowles","description":"Random restaurant selector. ","archived":false,"fork":false,"pushed_at":"2022-11-09T15:57:27.000Z","size":107,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-16T17:29:40.592Z","etag":null,"topics":["expressjs","google-sheets","javascript","nodejs","rest-api","sheets-api"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/Stanico-Knowles.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}},"created_at":"2022-04-27T18:50:21.000Z","updated_at":"2024-04-16T17:29:40.593Z","dependencies_parsed_at":"2022-08-11T18:11:14.766Z","dependency_job_id":null,"html_url":"https://github.com/Stanico-Knowles/random-food-place-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stanico-Knowles%2Frandom-food-place-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stanico-Knowles%2Frandom-food-place-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stanico-Knowles%2Frandom-food-place-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stanico-Knowles%2Frandom-food-place-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Stanico-Knowles","download_url":"https://codeload.github.com/Stanico-Knowles/random-food-place-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242859565,"owners_count":20196965,"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":["expressjs","google-sheets","javascript","nodejs","rest-api","sheets-api"],"created_at":"2024-07-29T17:53:51.239Z","updated_at":"2025-03-10T13:31:19.285Z","avatar_url":"https://github.com/Stanico-Knowles.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# What's For Lunch? :yum:\n\n\u003cp\u003e\nMy co-workers and I can never decide what we're going to eat for lunch. So one day, we created a google spreadsheet with a list of places in the area that we can grab a bite. We gave each food place a rating between 1 and 5; 1 being just awful and 5 being excellent. In addition, we gave distance ratings (how far from the office), and price ratings, all between 1 and 5 (1 being cheap and 5 being maybe we should take a checkbook).\n\u003c/p\u003e\n\n\u003cp\u003e\nTo help with our indecisiveness, we decided to find a randomizer that picks a place to eat for us. My coworker in SecOps bugged the developers for a few weeks to build an app for this because the randomizer we were using, couldn't take certain things into account. For example, what we feel like spending that particular day, how far we want to drive, and whether we could settle for anything or need something that's bussing (Notice I mentioned health ratings earlier but they didn't want it added in the criteria :joy:). So after being bugged, I finally created a simple backend for this randomizer that connected to our Google Sheet via Sheets API and generates a list of food places that matches the criteria and picks a random place from that list.\n\u003c/p\u003e\n\n## Getting Started\n\n#### Requirements\n\n\u003cul\u003e\n    \u003cli\u003eNode installed\u003c/li\u003e\n    \u003cli\u003eAPI Key (Google Cloud Platform)\u003c/li\u003e\n    \u003cli\u003eGoogle Sheets ID (The url is probably going to look like this: https://docs.google.com/spreadsheets/someText/:sheetID/moreText)\u003c/li\u003e\n\u003c/ul\u003e\n\n#### Run The App\n\n```\nnpm install\n```\n\n```\nnpm run dev\n```\n\n#### Feel Free To Addon :sunglasses:\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FStanico-Knowles%2Frandom-food-place-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FStanico-Knowles%2Frandom-food-place-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FStanico-Knowles%2Frandom-food-place-api/lists"}