Rayyan Darugar, P5, 1.83
All Scores: Q1: .89, Q2: .91, Q3: .92
Top 4 Score Total: Q2: .91 + Q3: .92 = 1.83 of 2
Question 1: database, with database schema change
[x] Show db.Column changes you have made to model/python file in Visual Studio Code
[x] Show initialization data code in VSCode
[x] Demo delete database and run ./migrate.sh
[x] Demo corresponding schema change in SQLite3
[ ] Demo initialization data captured in Column in SQLite3
Provide Screen Capture(s)
Added .color column to database - records a users favorite color.
updates in the sqlite.db file when ./migrate.sh is run
Tools error - unresolved, hence the .89, doesn't let me run ./migrate.sh anymore.
Worked yesterday but my computer rebooted and my flask_cors broke completely, still unsure why as I've pip installed it, made sure I'm on the right Python Interperter, deleted and reinstalled, and rebooted my machine. Now unable to run "select * from users;" in SQLite3 because sqlite.db file isn't working. Will ask Lopez how to fix later, GPT and my dad couldn't figure it out.
Demo Data for users with added Rayyan Darugar user and added favorite color section
Question 2: Postman with /authentication screen:
[x] Show /authenticate endpoint code in Visual Studio Code
[x] Show and Demo /authenticate in Postman…
[x] Demo calling to endpoint
[x] Show JSON data passed in call
[x] Show Response window
[x] Show Cookie acquired window
[x] Cut/Copy/Paste Cookie into jwt.io and show decrypting payload
Authenticate endpoint code shown - based on _Security class also shown.
Demos POST request to /authenticate code using JSON data. Shows Response.
Shows cookie acquired with the JWT token shown
Shows JWT.io decrypting
Question 3: Postman with /api screen to access data under authentication
[x] Show /api CRUD code in Visual Studio Code, expecting READ/GET code
[x] Show and Demo /api READ/GET endpoint in Postman…
[x] Demo calling to endpoint that requires Cookie
[x] Show Response/Data
[x] Demo Deleting cookie
[x] Demo calling endpoint again
[x] Show Response/Failure
Shows CRUD READ code
shows what page gives when cookie is deleted - no response
Rayyan Darugar, P5, 1.83 All Scores: Q1: .89, Q2: .91, Q3: .92 Top 4 Score Total: Q2: .91 + Q3: .92 = 1.83 of 2
Question 1: database, with database schema change
[ ] Demo initialization data captured in Column in SQLite3
Provide Screen Capture(s)
Added .color column to database - records a users favorite color.
updates in the sqlite.db file when ./migrate.sh is run
Tools error - unresolved, hence the .89, doesn't let me run ./migrate.sh anymore.
Demo Data for users with added Rayyan Darugar user and added favorite color section
Question 2: Postman with /authentication screen:
Authenticate endpoint code shown - based on _Security class also shown.
Demos POST request to /authenticate code using JSON data. Shows Response.
Shows cookie acquired with the JWT token shown
Shows JWT.io decrypting
Question 3: Postman with /api screen to access data under authentication
Shows CRUD READ code
shows what page gives when cookie is deleted - no response
cookie made
New Response