This is a repository for a test project for a junior fullstack trainee role. Objective: Create a simple script to scrape Amazon product listings from the first page of search results for a given keyword.
- Node.js v18+ (for local development)
- npm
- Bun
- Internet connection (to scrape Amazon pages)
- Clone the repository:
git clone https://github.com/MicaelaDinizP/JuniorFSDeveloper-TestProjectTask.git
- Go to the project api directory:
cd JuniorFSDeveloper-TestProjectTask/api- Install dependencies:
bun install(optional with node: node install)
- Running the server:
bun run dev(optional with node: node index.js)
The server will start at: http://localhost:8080
- Go to the project web folder :
cd ../web- Install Vite :
npm install- Run Vite :
npm run devThe frontend will start at the URL shown in your terminal (usually http://localhost:5173)
- Open the URL shown in the terminal
- Enter the search keyword
- Click on the "Search" button
- The results from Amazon will be displayed