How fj25-by/fish-it works
This repository appears to be a browser-based fish-item storefront. A customer browses products, chooses a quantity and payment method, submits an order confirmation, and receives a private-server link. The sampled script also defines product pricing and stock-related behavior, sends order details through EmailJS, and provides device-status displays. The tree includes a separate admin page, but its behavior and connection to the storefront are not shown; the stock-fetch implementation is also outside the excerpt, so those links remain unverified.
Main entry points: script.js Storefront logic · index.html Storefront page · stock.json Stock data
Components 13
Storefront
- Storefront page
index.html - Admin page
admin.html - Storefront logic
script.js - Product catalog
script.js - Stock data
stock.json
Order fulfillment
- Order form
script.js - Payment selection
script.js - Order confirmation
script.js - EmailJS
- Private server link
script.js
Device status
- Device status display
script.js - IP lookup service
Other components
- Customer
Connections 10
- Customer → Storefront page: browses
- Storefront page → Storefront logic: uses
- Customer → Order form: submits order
- Storefront logic → Product catalog: defines
script.js - Storefront logic → Stock data: loads stock
- Order form → Payment selection: selects payment
script.js - Order confirmation → EmailJS: sends order
script.js - Order confirmation → Private server link: shows link
script.js - Storefront logic → Device status display: updates display
script.js - Device status display → IP lookup service: fetches address
script.js