🛑🛑 in order to import cheero or any used library you have to use impor "" from ... instead of require 🛑🛑
Welcome to the Price Comparison App! This application helps users find the best prices for products they want to buy online by comparing prices from various online stores like Amazon, Jumia, and others. This project is developed using Node.js and is designed for collaborative team development.
- Search Bar: Allows users to search for products.
- Real-Time Scraping: Fetches up-to-date pricing information from multiple online stores.
- Multi-Store Comparison: Displays price comparisons from different stores.
- User Reviews & Ratings: Helps users make informed decisions.
- Personalized Recommendations: Provides tailored suggestions based on user preferences.
- Mobile Optimization: Ensures a seamless shopping experience on mobile devices.
- Secure Transactions: Utilizes trusted payment gateways and encrypted data transmission.
Clone the repository:
git clone https://github.com/your-username/price-comparison-app.git cd price-comparison-app npm i cheerio node-fetch/price-comparison-app
│
├── /config # Configuration files
│ ├── db.js
│ ├── env.js
│ └── ...
│
├── /controllers # Controller files
│ ├── productController.js
│ ├── userController.js
│ └── ...
│
├── /middlewares # Middleware functions
│ ├── authMiddleware.js
│ ├── errorHandler.js
│ └── ...
│
├── /models # Database models and schemas
│ ├── productModel.js
│ ├── userModel.js
│ └── ...
│
├── /routes # Route definitions
│ ├── productRoutes.js
│ ├── userRoutes.js
│ └── ...
│
├── /services # Services for external API calls, scraping, etc.
│ ├── scrapingService.js
│ ├── userService.js
│ └── ...
│
├── /utils # Utility functions and helpers
│ ├── logger.js
│ ├── validators.js
│ └── ...
│
├── /tests # Test files
│ ├── controllers
│ │ ├── productController.test.js
│ │ └── userController.test.js
│ ├── models
│ │ ├── productModel.test.js
│ │ └── userModel.test.js
│ └── ...
│
├── /public # Static files (if any)
│ ├── images
│ ├── styles
│ └── ...
│
├── /scripts # Scripts for database seeding, migrations, etc.
│ ├── seed.js
│ ├── migrate.js
│ └── ...
│
├── .env # Environment variables
├── .gitignore # Git ignore file
├── package.json # Project dependencies and scripts
├── README.md # Project documentation
└── server.js # Entry point of the application