Introducing Lootle - for MongoDB Atlas Hackathon

aashishpanthi

Aashish Panthi

Posted on December 8, 2022

Introducing Lootle - for MongoDB Atlas Hackathon

What I built

Lootle -> (loot-le) is a website and MIT license open source project where you can keep track of the price of your MacBook or of your favorite Raspberry Pi or the stock price of Microsoft. You just enter the URL of the product/stock then the website keeps the history of the price fluctuation, presents it to you, and even notifies via email you when the price drops down that you specified.

Category Submission:

Choose Your Own Adventure

App Link

lootle.live

Video Overview

Screenshots

  1. Home page Landing page lootle.live
  2. Dashboard Lootle.live dashboard tracks
  3. Product detailed view with graph
    Product detailed view lootle.live

  4. Email notification for stock price
    Email notification for lootle.live

  5. Email notification for product price drop
    Email notification of lootle.live

  6. MongoDB Atlas Stats
    Mongodb Atlas

Description

The app checks the price of the product specified. Not only it checks the price, it extracts the name and information of the product from the website. It gathers information on a regular interval of fiveteen minutes and stores inside of the database. If the current price is found to be less than the specified price by the user then, the user will be updated with an email. And the user can also check the history of the price fluctuation through the nice little dashboard.

Tech stack πŸ‘©β€πŸ’»

  • Reactjs -> For frontend
  • MongoDB Atlas -> For mongoDB database
  • Express.js -> For API
  • Digital Ocean -> Deployment
  • Puppeteer/Cheerio -> Getting Price
  • Nodemailer -> To send email

Link to Source Code

All source code of frontend, backend and bot in same repository:

GitHub logo aashishpanthi / lootle.live

Amazon, Flipkart, and Daraz product's price tracker and Stock price on CNBC tracker

lootle

Project introduction

Lootle -> (loot-le) is a website and MIT license open source project where you can keep track of the price of your MacBook or of your favorite Raspberry Pi or the stock price of Microsoft. You just enter the URL of the product/stock then the website keeps the history of the price fluctuation, presents it to you, and even notifies you when the price drops down that you specified.

Functions βš’

Oh, we haven't discussed much on the functions of the website πŸ˜…. It checks the price of the product specified. Not only it checks the price, it extracts the name and information of the product from the website. It gathers information on a regular interval of fiveteen minutes and stores inside of the database. If the current price is found to be less than the specified price by the user then, the user will be updated…

Permissive License

MIT

Background

The irretation of checking the price constanly in ecommerce store is the motivation behind this project. To eliminate this process and rather automate the process, I built this web app. And further I am planning to release it as browser extension.

How I built it

It is not my first time using mongoDB. I have already built few projects using mongoDB (MongoDB Atlas to be more specific). But learning never stops. I didn't know that mongoDB provides change streams but when I come to know I had to try it once. I have tried it in the app to send push notification whenever price drops. But I felt like sending notification may look spammy so I choose the option to mail where I can send a detail description of the product with the interactive elements.

Currently supported sites:

  1. Flipkart.com for available products only
  2. Amazon.com for available products only
  3. Amazon.co.uk for available products only
  4. Amazon.in for available products only
  5. cnbc.com for stock price
  6. daraz.com.np for available products only

Important links πŸ”—

  1. GitHub repo
  2. Website
πŸ’– πŸ’ͺ πŸ™… 🚩
aashishpanthi
Aashish Panthi

Posted on December 8, 2022

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

Introducing Lootle - for MongoDB Atlas Hackathon
atlashackathon22 Introducing Lootle - for MongoDB Atlas Hackathon

December 8, 2022