PriceDekho is a web application that allows users to paste any Amazon link and track the price of the product. When the product's price drops to a desired level, the application sends out an email notification. This project is built using Next.js, Tailwind CSS, Headless UI, NodeMailer, and MongoDB, and is deployed on Vercel.
- Track prices of products from Amazon.
- Receive email notifications when the price drops.
- User-friendly interface with Tailwind CSS and Headless UI.
- Scheduled price checks using cron jobs.
Before you begin, ensure you have the following installed:
- Node.js (v14 or higher)
- npm or yarn
- Vercel account (for deployment)
-
Clone the repository:
git clone https://github.com/yourusername/pricedekho.git cd pricedekho
-
Install the dependencies:
npm install # or yarn install
-
Set up your environment variables. Create a
.env.local
file in the root directory and add the following variables:NEXT_PUBLIC_AMAZON_API_KEY=your_amazon_api_key NEXT_PUBLIC_EMAIL_API_KEY=your_email_api_key NEXT_PUBLIC_EMAIL_FROM=your_email@example.com NEXT_PUBLIC_MONGODB_HOST=******************* NEXT_PUBLIC_MONGODB_PWD=*******************
-
Run the development server:
npm run dev # or yarn dev
-
Open http://localhost:3000 in your browser to see the application.
- Paste an Amazon product link into the input field on the homepage.
- Click on search then view your product.
- Click on track under the product details page and enter your email to start tracking the product.
- You will receive an email notification when the product's price drops to your desired level.
To deploy the application on Vercel:
- Push your project to a GitHub repository.
- Go to the Vercel dashboard and import your repository.
- Set up your environment variables in the Vercel project settings.
- Deploy the project. Vercel will automatically build and deploy your application.
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature/your-feature-name
). - Make your changes.
- Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature/your-feature-name
). - Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
Thank you for using PriceDekho! We hope it helps you save money on your Amazon purchases. If you have any questions or feedback, feel free to open an issue or contact us.