A real-time interactive kiosk application for managing inventory boxes with face recognition, WebSocket communication, and a modern cyberpunk-inspired UI.
KioskApp is a Svelte-based kiosk interface that enables users to:
The application communicates with backend services for box registration, shelf management, and face recognition tasks.
Before you begin, ensure you have the following installed:
Clone the repository:
git clone <repository-url>
cd KioskApp
Install dependencies:
npm install
The application requires two backend services to be running:
ws://localhost:3000 - Handles real-time box and shelf operationshttp://localhost:8000 - Provides shelf information via /getShelves endpointMake sure these services are running before starting the kiosk application.
Start the development server with hot module reloading:
npm run dev
The application will be available at http://localhost:5173 (or another port if 5173 is in use).
To automatically open the app in your browser:
npm run dev -- --open
Create an optimized production build:
npm run build
Preview the production build locally:
npm run preview
src/
├── routes/
│ ├── +layout.svelte # Main layout wrapper
│ └── +page.svelte # Main kiosk interface
├── lib/
│ ├── Popup.svelte # Reusable popup modal component
│ ├── ShelfEntry.svelte # Shelf display component
│ ├── index.js # Library exports
│ └── assets/
│ └── favicon.ico # App icon
├── app.css # Global styles and theme variables
└── app.html # HTML entry point
The application uses a custom color scheme defined in src/app.css:
#66fcf1 (Cyan)#45a29e (Teal)#0b0c10 (Near-black)#1f2833 (Dark gray)The design leverages the Augmented UI library for cyberpunk-style corners and effects.
ws://localhost:3000/getShelves requestsnode_modules and reinstall with npm install