# Dev 100 - Day [90]
Worked late waiting on call from boss that never came so stayed up to late to post this last night.
## Today's Accomplishments
### 1. πŸŒ… Morning Productivity
🍳 Healthy Breakfast: hasbrowns eggs toast & sasusage
- [x] Morning Rountine: Clean Office, Rhythm Ready for School, Emails, Make Bed
- Couple of magic matches then straight into work.
- PR Review for oTTo-Dev
### 2. βœ… To-Dos & Completed Tasks
- [x] [Update To-Dos]
- [x] [Clear Complete Task]
- Daily To-Do Report: 4 Done from Main project BIG hang ups ive been avoiding 8 Done from other projects and errands and important chores
### 3. πŸ“š Learning
- πŸ”— [πŸ”΄ Let's build a Full Stack E-Commerce App with NEXT.JS 15 (Sanity, Stripe, Clerk, Tailwind, TS)](https://www.youtube.com/watch?v=o-fgWea75O4&t=5424s) Specifically the Sanity TypeGen
Low education material consumption today. heavy on the work side.
### 4. πŸ’» Coding Progress
- 🧠 Warm-up Exercise: Create a component-based state system that allows for state management within components, state inheritance between parent and child components, and state sharing between sibling components.
- 🏫 **Zero to Full Stack Hero Homework**:
- 🦺 Project: AI - Alchemy - Sanity Intergration. EBT - Auth Refactor reset password & email verify
- πŸ“ Code Snippet:
```javascript
try {
const body = await req.json();
console.log('πŸ“¦ Password Reset Request:', body);
const validationResult = RequestResetSchema.safeParse(body);
console.log('βœ… Schema Validation:', validationResult);
if (!validationResult.success) {
console.log('❌ Validation Failed:', validationResult.error.errors);
throw new ApiError(validationResult.error.errors[0].message, 400);
}
const { email } = validationResult.data;
console.log('πŸ“§ Processing Reset for:', email);
// Check if user exists
const usersRef = adminDb.collection('users');
const querySnapshot = await usersRef.where('email', '==', email.toLowerCase()).get();
console.log('πŸ” User Found:', !querySnapshot.empty);
if (querySnapshot.empty) {
console.log('⚠️ User Not Found:', email);
throw new ApiError('User not found', 404);
}
// Send reset email
await emailService.sendPasswordResetEmail(email.toLowerCase());
console.log('πŸ“¬ Reset Email Sent Successfully');
return sendSuccessResponse({
message: 'Password reset instructions have been sent to your email',
});
}
```
### 5. πŸ”„ Daily Reset
- πŸ‹οΈβ€β™‚οΈ Still hurting so Resting up =/
- 🧘 Chill and smoke with some news catch up
### 6. 🌀️ Afternoon Productivity
- 🍱 Healthy Lunch: Skipped Lunch =/
- Interview Prep call for wordpress job
- Chores for mom
### 7. 🀝 Community Support
- Created coding challenge for Cairan who is applying for jobs
- Talked with Fiazan about his work project it was a little outside of my knowledge scope ( his too ) but I helped him get set up with claude and gave him an overview of the projects feature. Thinking it will help him out a lot at work with the things he has little knowledge about. Honestly wish I knew more about what he was doing I would love to help him out more, and its a very cool project.
### 8. πŸ“Š Progress Tracking
## Reflections and Notes
Hard day with work. couldnt solve the auth issue with the app im working, but claude had my back. I need to wrap up these last few issues and take the time to document the code. it got a little complex and I have lost track of the overall flow of both the auth system and the calculator features. Going back through and documenting and refactoring a little should help me out a lot so I dont continue to get lost in the future.
7
2 comments
Digitl-Alchemyst Steven-Watkins
6
# Dev 100 - Day [90]
University of Code
skool.com/universityofcode
You'll get Exclusive Lessons & Content, Badass Community Support & More here to elevate as a Dev!
Leaderboard (30-day)
powered by