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.
- Backend
- Language - Typescript
- Package Manager - PNPM
- Dependencies
- ExpressJS (using @types/express)
- Puppeteer (using @types/puppeteer)
- Web
- Language - Typescript
- Framework - NextJS
- Package Manager - PNPM
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