Home
Softono
Project-Shopping-Cart

Project-Shopping-Cart

Open source JavaScript
13
Stars
1
Forks
0
Issues
2
Watchers
4 years
Last Commit

About Project-Shopping-Cart

Project-Shopping-Cart is a dynamic web application that functions as an interactive shopping interface by consuming data directly from the Mercado Livre API. Developed as an educational project during a JavaScript curriculum, the application demonstrates proficiency in front-end development using HTML, CSS, and modern JavaScript practices. Key technical features include the implementation of asynchronous JavaScript functions to handle HTTP requests and manage real-time product data retrieval. The application is designed with a focus on software quality, incorporating a comprehensive test-driven development approach where unit tests and end-to-end tests are implemented using frameworks like Cypress. Users can view a catalog of products, add items to their cart, and see dynamic updates based on API responses. The project serves as a practical example of integrating external services into a client-side application, managing state, and ensuring code reliability through automated testing. It is intended for develo

Platforms

Web Self-hosted

Languages

JavaScript

Deploy

Skills

  • Make requests to Mercado Livre Application Programming Programming Interface;
  • Use knowledge about JavaScript, CSS, and HTML;
  • Work with asynchronous functions;
  • Implement unit tests.

What was developed

In this project, we made a dynamic shopping cart! Consuming data directly from an API!. From the acronym application programming interface, an API is a point of contact on the Internet with a certain service. Through HTTP requests to this API it is possible to interact with it as the one who created it planned. Here, we used the 'Mercado Livre' API to seek products for sale.


How to run:

  1. Install the dependencies and initialize the project.
  • Install dependencies:
  • npm install
  1. Run Cypress
  • npm run cypress:open