This is our database that we used to test out our car storing API
It is serving as the prerequisite code to implement our liking feature within our site's car inventory
Using a GET request in main.py, we can obtain data from our database
In an HTML file, I was able to use liquid to show the data we retrieved from our local server's API, for display on an HTML table
I was also able to use JavaScript to display the same data.
!
Purpose:
This code will help fetch the information necessary to store a users favorite cars from our inventory.
College Board Requirements:
Database/Lists: My HTML tables fetch data from our car database in order to display the data on each car.
Iteration: A for loop is used to add rows for each car within the database. I plan to implement loops to iterate through the database of cars in order to display the data of each car.
Selection: An if statement will be used to only display to the user that a car has been liked if it has actually been favorited by the given user.
Tangible Artifact/Progress
This is our database that we used to test out our car storing API
It is serving as the prerequisite code to implement our liking feature within our site's car inventory
Using a GET request in main.py, we can obtain data from our database
In an HTML file, I was able to use liquid to show the data we retrieved from our local server's API, for display on an HTML table
I was also able to use JavaScript to display the same data. !
Purpose: This code will help fetch the information necessary to store a users favorite cars from our inventory.
College Board Requirements:
Scrum Board Issues