How ahmed7assan1/coffee-management-system-vue works
Abo7assan Coffee Shop is a Vue coffee catalog with product browsing, filtering, detail pages, and authenticated menu management. The user enters through the app shell and router; product views fetch coffee records from a local JSON API, while login state is persisted in browser storage. The README provides no architectural detail, so the graph relies on the supplied source excerpts and SOURCE INDEX; the API’s implementation is not included in the tree.
Main entry points: index.js Route handling · auth.js Authentication state · main.js App bootstrap · App.vue App shell
Components 14
Application shell
- App bootstrap
final_project/src/main.js - App shell
final_project/src/App.vue
Navigation and access
- Navigation bar
final_project/src/components/Navbar.vue - Login form
final_project/src/components/Login.vue - Route handling
final_project/src/router/index.js
Coffee catalog
- Home page
final_project/src/views/Home.vue - Product listing
final_project/src/views/Products.vue - Product details
final_project/src/views/ProductDetails.vue - Menu editor
final_project/src/views/CRUD.vue - Not found page
final_project/src/views/NotFound.vue
State and API
- Authentication state
final_project/src/stores/auth.js - Browser local storage
- Coffee JSON API
Other components
- Shop user
Connections 19
- Shop user → App bootstrap: opens app
- App bootstrap → App shell: mounts
final_project/src/main.js - App bootstrap → Route handling: installs
final_project/src/main.js - App shell → Navigation bar: renders
final_project/src/App.vue - App shell → Route handling: hosts routed views
final_project/src/App.vue - Route handling → Home page: routes to
final_project/src/router/index.js - Route handling → Product listing: routes to
final_project/src/router/index.js - Route handling → Product details: routes to
final_project/src/router/index.js - Route handling → Menu editor: routes to
final_project/src/router/index.js - Route handling → Not found page: routes to
final_project/src/router/index.js - Route handling → Login form: routes to
final_project/src/router/index.js - Route handling → Authentication state: checks access
final_project/src/router/index.js - Login form → Authentication state: updates login
final_project/src/components/Login.vue - Navigation bar → Authentication state: reads and clears
final_project/src/components/Navbar.vue - Authentication state → Browser local storage: reads and writes
final_project/src/stores/auth.js - Product listing → Authentication state: checks login
final_project/src/views/Products.vue - Product listing → Coffee JSON API: fetches and deletes
final_project/src/views/Products.vue - Product details → Coffee JSON API: fetches record
final_project/src/views/ProductDetails.vue - Menu editor → Coffee JSON API: loads and saves
final_project/src/views/CRUD.vue