willbarkoff / foodie Goto Github PK
View Code? Open in Web Editor NEW๐ Like Eatery, but for the web
Home Page: https://cu-foodie.vercel.app
๐ Like Eatery, but for the web
Home Page: https://cu-foodie.vercel.app
It would be helpful to a lot of people if foodie could find eateries that accommodate specific dietary preferences and restrictions. For example, Risley is free of the 8 most common allergens.
To go along with this, it should also be able to mark foods as vegetarian or vegan.
This issue is due to the parsing of timezones. At 9:00 PM, the labels get shifted off a day. Most people will be viewing this in Eastern Time (AKA where cornell is located), but the browser parses dates from Cornell Dining as UTC. The error lies in this line:
When new Date(date)
is called, it's on an ISO8601 date string (YYYY-MM-DD
) without a timezone suffix, resulting in it beign parsed as UTC.
Ability to view eateries on a map
Right now, the Cornell Dining API only returns information for Cornell Dining-run eateries. Others exist, some popular examples being Terrace, Temple of Zeus, and Manndible. Some of these accept BRBs, while others don't.
Eatery hardcodes these, and a similar approach would likely be ideal โ potentially Foodie could offload this onto the Eatery API (it's a pretty simple GraphQL API, eatery-backend.cornellappdev.com), though that feels wrong. Potentially Foodie could just support the same format that eatery-backend does for external eateries and the JSON files could be kept in sync?
https://github.com/cuappdev/eatery-backend/blob/master/static_sources/externalEateries.json
There should be a button (similar to the "Order Online" button) to make a reservation with OpenTable for eateries that support reservations.
It would probably be cool if the user could fill in the blanks in a sentence with dropdowns โ something like
I want to eat now on north campus and pay with swipes
This should filter by what's open, where it is, and payment methods
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.