CST 489/499 Week 11 Learning Journal

 Milestones Accomplished

This week, my main contribution to our capstone project was to convert our data-fetching logic to use server-side rendering (SSR) instead of client-side fetching. Previously, I was using `useEffect` on the client to load data, which could expose sensitive information in our API calls. I refactored the logic by creating a server-side function that securely retrieves the data on the server and then passes it to the client component as props for rendering. This helps protect sensitive data and improves initial load performance.

In addition, I helped a team member implement authentication with Supabase. We successfully created a new account using Supabase Authentication and simulated logging in and out. 

Next Steps

My plans for next week are to update the database so that the Supabase Authentication table is properly linked to our User table. I also plan to revise the User table structure to focus on user-specific profile information rather than authentication-related fields such as email or password. Additionally, I will implement cookies and sessions to ensure that users can only access authorized pages.

Challenges

The challenge we are currently facing is the amount of work we have ahead of us to get a prototype ready for testing. We have been sorting many of the features as "stretch" features and focusing on what is absolutely necessary to test our algorithm. Our instructor, Dr. Feng, helped us focus on this at our last meeting.

Comments

Popular posts from this blog

CST 438 Week 6 Learning Journal

CST 334 Week 1 Journal Entry

CST 370 Week 3 Learning Journal Entry