Alejandro-Bernal-M / Capstone-Project-JavaScript

MIT License
0 stars 0 forks source link

Implementation of web page using an API #31

Closed Alejandro-Bernal-M closed 1 year ago

Alejandro-Bernal-M commented 1 year ago

API Implementation.

We implemented the next webpage:

image

we used the API to retrieve data from a database of vehicles. and the involvement API from microverse in order to save the likes and comments (group of 2 students)

POPUP

When clicking on the comments button, a popup window appears and retrieves data from the APIs. image

you can add comments and the counter will refresh the number.

Jest test

we implemented jest for the tests: image

Functionality

The main functionality is implemented on the file index.js https://github.com/Alejandro-Bernal-M/Capstone-Project-JavaScript/blob/b425323b66dbc284d05d94382975f22c265d1762/src/index.js#L1-L47

Every function has its own file with a descriptive name in the "src/modules" folder. image

Alejandro-Bernal-M commented 1 year ago

Thanks!

@Reem-lab thank you for your review, we are very grateful.