shangjingbo1226 / FormulaListings

A quick bot that uses puppeteer to get, and parse Walmart & Amazon listings for formula. Built for celeste

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FormulaListings

What is it?

  • FormulaListings is a small project I wrote to monitor specific Amazon & Walmart links and check if baby formula is in stock, due to the shortage of it.

Whats the tech stack?

There are two folders within this project, the backend API to collect information about the listings, and the frontend page to display that information.

How to run locally

First, open up two terminal instances and cd into both directories (backend and web)

Run the API

If you have ts-node installed already, skip this step

  • Install ts-node
$ npm install -g typescript ts-node @types/node
  • Now run the API
$ pnpm install
$ ts-node index.ts 

FormulaListings app is live on port 8000

Run the web app

  • Run the web server
$ pnpm install
$ pnpm run dev

About

A quick bot that uses puppeteer to get, and parse Walmart & Amazon listings for formula. Built for celeste


Languages

Language:TypeScript 88.9%Language:JavaScript 8.1%Language:CSS 3.0%