Griffin's Dev Diaries - TheEvergreenStateCollege/upper-division-cs-23-24 GitHub Wiki
Griffin's Dev Diaries:
AI:
- AI DAY 1: https://github.com/TheEvergreenStateCollege/upper-division-cs/wiki/Griffin-AI-Day-1
- AI HW 01: https://github.com/TheEvergreenStateCollege/upper-division-cs/wiki/AI-HW-01-Griffin
- AI Training: https://github.com/TheEvergreenStateCollege/upper-division-cs/wiki/AI-Training-Prototype-06
- AI HW 03: https://github.com/TheEvergreenStateCollege/upper-division-cs/wiki/Griffin-AI-Homework-03
- AI HW 04: https://github.com/TheEvergreenStateCollege/upper-division-cs/wiki/Griffin-AI-HW-04
- AI HW 05: https://github.com/TheEvergreenStateCollege/upper-division-cs/wiki/Griffin-AI-HW-05
- AI 04/24: https://github.com/TheEvergreenStateCollege/upper-division-cs/wiki/Griffin-AI-04-24
- AI HW 06: https://github.com/TheEvergreenStateCollege/upper-division-cs/wiki/AI-HW-06-Griffin
- AI HW 07: https://github.com/TheEvergreenStateCollege/upper-division-cs/wiki/AI-HW-07-Griffin
- AI 5/8/24: https://github.com/TheEvergreenStateCollege/upper-division-cs/wiki/Griffin-AI-5-8-2024
- Building LLM: https://github.com/TheEvergreenStateCollege/upper-division-cs/wiki/Griffin-LLM
- AI HW 08 1/2: https://github.com/TheEvergreenStateCollege/upper-division-cs/wiki/AI-HW-08-Griffin
- AI HW 08 2/2: https://github.com/TheEvergreenStateCollege/upper-division-cs/wiki/AI-HW-08-Griff
SC:
- Git Tac Toe: https://github.com/TheEvergreenStateCollege/upper-division-cs/wiki/Git-Tac-Toe
- SC HW 1: https://github.com/TheEvergreenStateCollege/upper-division-cs/wiki/SC-HW-1-Griffin-Loiselle
- SC HW 2: https://github.com/TheEvergreenStateCollege/upper-division-cs/wiki/SC-HW-2-Griffin-Loiselle
- SC HW 6: https://github.com/TheEvergreenStateCollege/upper-division-cs/wiki/Griffin-SC-HW-06
- SC HW 7: https://github.com/TheEvergreenStateCollege/upper-division-cs/wiki/Griffin-SC-HW-07
- SC HW 8: https://github.com/TheEvergreenStateCollege/upper-division-cs/wiki/Griffin-SC-HW-08
- SC HW 9: https://github.com/TheEvergreenStateCollege/upper-division-cs/wiki/Griffin-SC-HW-09
- SC 05/6 afternoon: https://github.com/TheEvergreenStateCollege/upper-division-cs/wiki/Griffin-SC-05-6-afternoon
- SC Guessing Game: https://github.com/TheEvergreenStateCollege/upper-division-cs/wiki/Guessing-Game-%E2%80%90-Griffin-Loiselle
- Game of Life: https://github.com/TheEvergreenStateCollege/upper-division-cs/wiki/Griffin's-Game-of-Life
Griffin's Dev Diary 01:
3/12/24
- goal: create user profile page that reads json objects, and outputs profile entries like below:
For my project I am replacing latitude and longitude with username and the time/day when the user was created. Also I am adding a button to change password.
-I need a fetch function to call the get method when the route "/api/profile" -For this I will need a route in router.ts. For example: router.get("/api/profile")... -I need to pass the fetch function my token. How do I access the token? It is in the req.authorization.header field?
The route should respond with a json object like: { "username": "user", "createdAt": "date/time" } I can use profileData = await response.json() to parse JSON