Watching laptops on Lenovo outlet - https://ackerleytng.github.io/logaze/
logaze
presents a data-centric view of the laptops available on Lenovo outlet, so that you can filter and sort through them to get the laptop you want.
This app has three parts
- Frontend (this repo)
- Scraper, written in clojure!
- Result cache, hosted at jsonblob.com
This lean architecture provides the user with quick data access by caching results at jsonblob.com, while running a scraper on a separate backend platform.
When a user accesses logaze, the user sees cached results, retrieved immediately from jsonblob.com. This allows the user to quickly start looking through the data (the laptop options).
While that happens, the user's browser helps to check the recency of the cached results, and if necessary, triggers the scraper, which writes to jsonblob.com.
If enough people periodically look at logaze, people should generally get rather recent results!
Please let me know if you want to contribute! I'll be so happy to work with you!
To run the app in the development mode,
npm run dev
Open http://localhost:5173 to view it in the browser.
Just push to the master branch - a GitHub workflow will deploy the frontend :)