Week 4: CST438 & CST462S

     This week I worked on assignment 2, implementing the StudentScheduleController. I built two main endpoints, one for students to enroll in a course and another to drop a course. It required validating the logged in user, checking that the section exists, making sure the student wasn’t already enrolled, and enforcing add/drop deadlines based on the term.  After creating or deleting the enrollment, the controller also sends a message to the gradebook service using RabbitMQ, This homework helped me understand how different services communicate without sharing a database. I tested both endpoints using Postman and confirmed that the data was correctly created and removed.

    Our reading for this week was about Code Review, so many new and helpful information I learned from it. Where the process allows engineers to review each other’s code before it’s added to the codebase to ensure it is correct, understandable, and maintainable. To be effective, reviews should stay small, fast, and professional, with clear descriptions and as much automation as possible to reduce manual effort.


Comments

Popular Posts