Our Inspiration

There have been many times when we would walk to Beanz, Midnight Oil, or the corner store for something in particular only to find out that it is not in stock. A program that lets you know if what you want is available and where to find it seemed like a dream come true.

What it does

It is an advanced version of the RIT dining app. In Theory There is a search bar that allows you to type in an item. From this, you will get a list of places that this item is available: the grayed out options means that it is out of stock, the locations that are crossed out means the place is closed, and the regular text means that this location is open and has the item available for purchase. On the initial page, there is also a list of the eating establishments. You can hover over them to show a list of food categories. When you click on that option, it goes into more detail, while removing unnecessary detail, like the other food establishments, from the page.

How we built it

We used HTML and CSS for the frontend. This included the search box and drop-down menus (along with their content categories). JavaScript is used as a bridge from the frontend to the backend. Java is used to collect the data from the API, eliminate unwanted information, and feed the front end the needed information for the user.

We did not finish the program and the frontend is not connected to the backend yet. We also used the Wegmans API as a substitute for the RIT dining API (we do not have access to the type of data we need or it does not exist).

Challenges we ran into

On the backend side, it took us a long time to understand the API since none of us have any prior knowledge of it. We also had trouble taking the JSON result and finding a way to convert it to java objects. On the frontend side, we had challenges with getting the dropdown display to operate in the intended fashion. We also had to learn new features and figuring out what can be done in the time we have and without the specific information that we need.

Accomplishments that we're proud of

We are proud of our idea and getting the API to function with user input through our java application. (credit to the Wegmans website in understanding how to do that through their examples and tons of research)

What we learned

We learned how to use Postman and a bit of what API is and how to use it. We also learned how to use JavaScript and CSS features.

What's next for FruitSnacks

Finishing the program is next. Once the program is finished and functioning, we would like to use AI to predict when next the item you want will be in stock and at what location.

Built With

Share this project:

Updates