MCPcopy Index your code
hub / github.com/FelixNg1022/Starbucks-Mobile-Order-System

github.com/FelixNg1022/Starbucks-Mobile-Order-System @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
192 symbols 529 edges 24 files 9 documented · 5%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Starbucks Order System Project

What is it:

In this project, I will create an application similar to a food tracker, but is catered towards keeping track of Starbucks orders. This app will contain several lists (subject to change): - an Ordered list - a Making list - and a Made list

As an ex-Starbucks barista, I'll implement varieties of modifications to an Espresso drink to mimic the ordering process. Users will be able to add and remove drinks from the lists, and modify the drinks in the lists.

When a drink is ordered, the drink will be automatically assigned the status of "Ordered". In the real-life Starbucks system, the status of the drink will be changed given 2 conditions. When the sticker of the drink gets pulled from the sticker machine, the status will be changed to "Making". When the drink is being made, the barista has to manually update the status of the drink to "Made".

However, since this application does not have any input sources to help determine the changes of the drinks' status, the user has to manually update the status of the drink for the drink to be organized into the corresponding drink list.

This project is of interest to me because I'm an ex-Starbucks barista, and want to design a tracking app that can mimic the till system I'm really familiar with.

(Please not: the users of this system are employees of Starbucks. In other words, the users are not customers.)

User Stories:

  • As a user, I want to be able to let customers order a drink and add the drink to the drink list.
  • As a user, I want to be able to let customers cancel their drink orders given that the drink is not currently being made or made.
  • As a user, I want to be able to view all the drinks in a list at once.
  • As a user, I want to be able to check the number of drinks in each list.
  • As a user, I want to be able to store the drink lists in a file for future use.
  • As a user, I want to be able to load a stored file to the system to resume previous work, in cases of emergencies, such as power outage.

Extension points exported contracts — how you extend this code

Writable (Interface)
(no doc) [4 implementers]
src/main/persistence/Writable.java

Core symbols most depended-on inside this repo

addDrink
called by 24
src/main/model/lists/DrinkList.java
getType
called by 19
src/main/model/Drink.java
toString
called by 19
src/main/model/Drink.java
getDrinkID
called by 17
src/main/model/Drink.java
read
called by 15
src/main/persistence/JsonReader.java
getDrink
called by 13
src/main/model/lists/DrinkList.java
getList
called by 13
src/main/model/lists/DrinkList.java
getStatus
called by 10
src/main/model/Drink.java

Shape

Method 159
Class 29
Enum 3
Interface 1

Languages

Java100%

Modules by API surface

src/main/ui/Order.java21 symbols
src/main/ui/Making.java21 symbols
src/main/ui/Made.java21 symbols
src/main/ui/StarbucksApp.java14 symbols
src/main/model/Drink.java13 symbols
src/main/ui/GraphicalApp.java12 symbols
src/main/model/lists/DrinkList.java12 symbols
src/test/model/tests/DrinkListTest.java10 symbols
src/test/model/tests/DrinkTest.java9 symbols
src/test/model/tests/JsonReaderTest.java7 symbols
src/main/persistence/JsonReader.java7 symbols
src/main/model/Event.java7 symbols

For agents

$ claude mcp add Starbucks-Mobile-Order-System \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page