LocalFetch is a comprehensive web application developed to facilitate users in finding local shops that offer the same products available on Amazon, along with detailed information about the items and their prices. The project seamlessly integrates HTML, CSS, JavaScript, Gsap, Lenis, Python, Flask, Folium, and SQLite3 to provide a user-friendly and efficient experience.
Amazon Link Integration:
- Users can input an Amazon product link, initiating a search for local shops carrying the same item.
Database Integration (local_shops.db):
- Utilizes SQLite3 to store and manage data about nearby shops, their available items, and corresponding prices.
Interactive Map Display:
- Presents the search results on an interactive map using Folium, offering a visual representation of nearby shops with the desired product.
Item Comparison:
- Highlights shops on the map that carry the same item, making it easy for users to compare prices and offerings.
Price Optimization:
- Identifies the shop with the lowest price for the searched item, marked with a distinctive green marker for quick identification.
Smooth Animations with Gsap:
- Incorporates Gsap for smooth and visually appealing animations, enhancing the overall user experience.
Input Amazon Link:
- Users provide an Amazon link for a specific product they are interested in purchasing.
Database Query:
- The application queries the local_shops.db database to identify nearby shops offering the same item.
Map Visualization:
- Results are dynamically displayed on an interactive map, making it easy for users to explore and assess their options.
Price Comparison:
- Shops with the same item are highlighted, and the shop with the lowest price is distinguished by a green marker.
Detailed Information:
- Users can view detailed information about each shop, including the available items, prices, and contact details.
Frontend:
- HTML, CSS for the user interface.
- JavaScript for interactive features.
- Gsap for smooth animations.
Backend:
- Python with Flask for server-side functionality.
- SQLite3 for database management.
Mapping:
- Folium for dynamic map generation.
- Implement user authentication for personalized experiences.
- Expand the database to include a wider range of products and shops.
- Enhance the user interface for a more polished look.
- Clone the repository.
- Install required dependencies using
pip install -r requirements.txt. - Run the Flask application using
python app.py.