A premium RFID-based wallet system integrated with a high-end fashion e-commerce storefront. This project combines embedded hardware (ESP8266) with a modern web backend and frontend to provide a seamless payment experience using RFID cards.
Live link: (http://157.173.101.159:9267/cashier.html)
- RFID Integration: Detect and process RFID cards for secure transactions.
- Premium Fashion Storefront: A sleek, modern UI for browsing luxury apparel.
- Real-time Updates: WebSocket and MQTT integration for instant balance and transaction status.
- Admin Dashboard: Manage products, monitor transactions, and oversee system status.
- Persistent Storage: Local SQLite database for reliable transaction logging and user balances.
- Backend: Node.js, Express, SQLite3, MQTT, WebSockets.
- Frontend: Vanilla HTML5, CSS3, JavaScript.
- Hardware: ESP8266 (Firmware developed in Arduino/C++).
- Communication: MQTT for device-to-server, WebSockets for server-to-client.
-
Clone the repository:
git clone <repository-url> cd RFID-MODIFIED
-
Backend Setup:
- Navigate to the
backenddirectory:cd backend - Install dependencies:
npm install
- Create a
.envfile in thebackendfolder:PORT=9267 MQTT_BROKER=mqtt://your-broker-url MQTT_PORT=1883 TEAM_ID=your-team-id
- Start the server:
npm start
- Navigate to the
-
Frontend Usage:
- Open
frontend/cashier.htmlin your browser to access the store. - For administrative tasks, use
frontend/admin.html.
- Open
-
Hardware Setup:
- Flash the firmware located in
esp-8266/to your ESP8266 device using the Arduino IDE. - Ensure the MQTT settings in the firmware match your server configuration.
- Flash the firmware located in
backend/: Node.js Express server and SQLite database management.frontend/: Static web files (HTML, CSS, JS) for the user and admin interfaces.esp-8266/: C++ firmware for the RFID reader module.
This project is for educational and development purposes.