Project using Node.js dependencies (express, axios and JSDOM), HTML, CSS and Vanilla JavaScript to create an endpoint / API / scrape to fetch the contents of the Amazon search results page for a given keyword.
Before you begin, ensure you have met the following requirements:
- You have installed the latest version of Node.js
- You have a Windows/Linux/Mac machine.
To install the project, follow these steps:
-
Clone the repository
git clone git@github.com:beatriznbt/carvalho-aleixo-internship.git cd carvalho-aleixo-internship -
Install the dependenciesNavigate to the project directory and run:
npm install
This will install all the necessary Node.js packages specified in package.json.
To run the project, follow these steps:
-
Start the serverIn the project directory, run:
npm start
This command will start the server on http://localhost:3000. You can access the application by visiting this URL in your web browser.
- Using the Application
• Enter a search keyword in the input box and click the "Search" button to fetch product data.
• The results will be displayed on the page under the search bar.
If you want to contact me you can reach me at beatriznbt@gmail.com.
