RyanZLiu / student4

MIT License
0 stars 0 forks source link

Data Structure Writeup #3

Open RyanZLiu opened 5 months ago

RyanZLiu commented 5 months ago

Collections Blog Python Model code and SQLite Database.

From VSCode using SQLite3 Editor, show your unique collection/table in database, display rows and columns in the table of the SQLite database.

image

From VSCode model, show your unique code that was created to initialize table and create test data.

image

Lists and Dictionaries Blog Python API code and use of List and Dictionaries.

In VSCode using Debugger, show a list as extracted from database as Python objects.

image

In VSCode use Debugger and list, show two distinct example examples of dictionaries, show Keys/Values using debugger.

image

APIs and JSON 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.

image

In VSCode, show algorithmic conditions used to validate data on a POST condition.

image

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.

image image image

In Postman, show the JSON response for error for 400 when missing body on a POST request.

image

In Postman, show the JSON response for error for 404 when providing an unknown user ID to a UPDATE request.

image

Note: In our USER API code, we've set it up so that it automatically fetches the user ID from the JWT token when someone logs in. This means you don't have to include your user ID when you make a PUT request. This way, users can only update their own profiles, and there's no chance of getting a 404 error because there's no unknown user ID involved.

Frontend 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.

image

In JavaScript code, describe fetch and method that obtained the Array of JSON objects.

image

In JavaScript code, show code that performs iteration and formatting of data into HTML.

image

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.

image image

In JavaScript code, show and describe code that handles success. Describe how code shows success to the user in the Chrome Browser screen.

image

In JavaScript code, show and describe code that handles failure. Describe how the code shows failure to the user in the Chrome Browser screen.

image

SOoctosnake commented 5 months ago

1.951111111/2 Your blog is well-organized and informative, covering all questions, including ML topics. The screenshots are clear, but additional descriptive captions would enhance understanding. Your explanation of decision trees and linear progression in the ML section is commendable. Consider improving image captions for better clarity.

dino596 commented 5 months ago

1.85/2 Hi Ryan, good job on your data structures project and writeup. Everything required is included and is visually appealing. However, as SOoctosnake pointed out, contemplate adding captions to your blog to further describe the effort put into the data structures project.