Open SGTech08 opened 2 months ago
In our project we added a feature where users are able to favorite the houses they like. We added this feature because sometimes you have to do something else for a while and when you come back the house you were looking at is gone. Using favorites we can make houses people were looking at with their id (from when they logged in) to allow them to access the houses they were looking for.
We also added a sqlite database of the houses that were on the market in socal.
We used the following code to map our csv with our sqlite database.
Blog Python API code and use of List and Dictionaries.
In VSCode using Debugger, show a list as extracted from database as Python objects.
The above images lets use sort through the list which has a dictionary. We can sort through all the values it has as well like sq feet, rooms, bathrooms, and etc.
In VSCode use Debugger and list, show two distinct example examples of dictionaries, show Keys/Values using debugger.
Blog Python API code and use of Postman to request and respond with JSON. In VSCode, show Python API code definition for request and response using GET, POST, UPDATE methods. Discuss algorithmic condition used to direct request to appropriate Python method based on request method.
In VSCode, show algorithmic conditions used to validate data on a POST condition. We used this for the signup and login
In postman show url request and body requirements for get post and update methods
In Postman, show the JSON response data for 200 success conditions on GET, POST, and UPDATE methods.
In Postman, show the JSON response for error for 400 when missing body on a POST request.
Shows that it is not working because it needs a bid and password for it to operate.
In Postman, show the JSON response for error for 404 when providing an unknown user ID to a UPDATE request.
Blog JavaScript API fetch code and formatting code to display JSON. In Chrome inspect, show response of JSON objects from fetch of GET, POST, and UPDATE methods.
In the Chrome browser, show a demo (GET) of obtaining an Array of JSON objects that are formatted into the browsers screen. In JavaScript code, describe fetch and method that obtained the Array of JSON objects.
In JavaScript code, show code that performs iteration and formatting of data into HTML.
In the Chrome browser, show a demo (POST or UPDATE) gathering and sending input and receiving a response that show update. Repeat this demo showing both success and failure. In JavaScript code, show and describe code that handles success. Describe how code shows success to the user in the Chrome Browser screen.
In JavaScript code, show and describe code that handles failure. Describe how the code shows failure to the user in the Chrome Browser screen.
Reviewer: Sri Vaidyanathan S
The blog is very well done. The screenshots are organized according to the prompt making it easy to follow. All the requirements are completed and the issue is well organized and goes step by step through the requirements. I think a little more text to explain the code can be added but overall great job!
1.96/2
My project last trimester was all about real estate. The purpose of our tool was to build an all in one real estate website where people can browse through houses and its statistics as well as using a ai model to help you decide where you should buy your house based on salary and other specifications