Week 13: Building the Backend

 Week 13: Building the Backend

    This week, we moved from designing screens to working on the actual backend of the Dietary Inventory System (DIS). This is where all the important functions live like user logins, inventory tracking, and delivery management. It felt like going behind the scenes after working on the frontend last week.

    We set up three types of users: admin, who has access to everything staff related operations, staff, and wards, who receive food deliveries. Creating the login system was tricky at first. Making sure each user only sees what they’re supposed to. The admin can add new users and adjust settings, staff can update food stock levels, and wards can only view delivery schedules. Testing permissions was funny. I kept accidentally locking myself out or seeing pages I shouldn’t.

    For the inventory module, we made sure it could track food quantities. I helped set up simple alerts so the kitchen knows when to reorder or use certain ingredients first. The delivery module was the hardest part. We had to link it so wards could confirm when they receive food, updating the system automatically.

    It wasn’t perfect as sometimes entering data would cause an error, or a user type couldn’t access what they needed. But each fix taught me something new. Ma’am Ynah walked us through debugging, showing how small mistakes can break everything.

    Between coding sessions, I still took helpdesk calls. After working on DIS, I’d answer a ticket and think, “Maybe someday, this system will have its own helpdesk issues too.” It’s cool to build something from scratch, but I’m also realizing how much maintenance comes after.

    Now that the basic backend works, next week we’ll connect it to the frontend. Fingers crossed our test users (us) don’t crash it!

Comments

Popular posts from this blog

Week 1: A Slow but Steady Start

Week 2: Transitioning to Help Desk Operations

Week 14: Wrapping Up the Internship