A web application that displays user profiles and product listings, with the ability to track user purchases for future machine learning recommendations using TensorFlow.js.
index.html- Main HTML file for the applicationindex.js- Entry point for the applicationview/- Contains classes for managing the DOM and templatescontroller/- Contains controllers to connect views and servicesservice/- Contains business logic for data handlingdata/- Contains JSON files with user and product data
- Install dependencies:
npm install
- Start the application:
npm start
- Open your browser and navigate to
http://localhost:8080
- User profile selection with details display
- Past purchase history display
- Product listing with "Buy Now" functionality
- Purchase tracking using sessionStorage
- TensorFlow.js-based recommendation engine
- User similarity analysis
- Product recommendation based on purchase history