Git Product home page Git Product logo

foodie's People

Contributors

willbarkoff avatar

Watchers

 avatar  avatar

foodie's Issues

Find Dietary Preferences/Restrictions

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.

Today becomes tomorrow at 9PM

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:

const timeBetween = new Date(date).getTime() - new Date().getTime();

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.

Map view

Ability to view eateries on a map

Support for non-Cornell Dining eateries

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

Make OpenTable Reservation

There should be a button (similar to the "Order Online" button) to make a reservation with OpenTable for eateries that support reservations.

Filtering

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.