How hakkul/web_programming works
This repository contains several independent Vue exercises rather than one integrated product. The clearest workflows are room-list retrieval from a Hono worker, a notes component mounted by the tugas6 app, and a bookstore flow from catalog to shared cart. Other coursework files are standalone examples, and the available excerpts do not establish their runtime behavior. Some route and worker wiring is only indirectly indicated by the source index, so uncertain links are omitted or marked unverified.
Main entry points: App.vue Storefront shell · index.js Page router · daftarProduk.vue Product catalog · cartStore.js Cart state
Components 14
Room borrowing app
- Room status and list
ta-peminjaman-ruang/src/App.vue - Room API route
ta-peminjaman-ruang/worker/routes/ruang.ts - Worker entry
ta-peminjaman-ruang/worker/index.ts
Notes exercise
- Notes app shell
tugas6/src/App.vue - Notebook component
tugas6/src/components/BukuCatatan.vue
Bookstore exercise
- Storefront shell
tugas7/src/App.vue - Page router
tugas7/src/router/index.js - Product catalog
tugas7/src/components/daftarProduk.vue - Product card
tugas7/src/components/ProdukCard.vue - Cart state
tugas7/src/stores/cartStore.js - Cart view
tugas7/src/views/cardView.vue
Other components
- Room app user
- Notes app user
- Bookstore user
Connections 13
- Room app user → Room status and list: views
ta-peminjaman-ruang/src/App.vue - Room status and list → Room API route: fetches rooms
- Worker entry → Room API route: routes to
ta-peminjaman-ruang/worker/index.ts - Notes app user → Notes app shell: uses
- Notes app shell → Notebook component: renders
tugas6/src/App.vue - Bookstore user → Storefront shell: uses
- Storefront shell → Page router: installs
tugas7/src/main.js - Page router → Product catalog: routes to
tugas7/src/router/index.js - Page router → Cart view: routes to
tugas7/src/router/index.js - Storefront shell → Cart state: reads item count
tugas7/src/App.vue - Product catalog → Product card: renders
tugas7/src/components/daftarProduk.vue - Product catalog → Cart state: adds products
tugas7/src/components/daftarProduk.vue - Cart view → Cart state: reads and removes
tugas7/src/views/cardView.vue