Profile Management Feature with Backend and Frontend Integration


This week I worked on adding a Profile Management feature to PharmaStock so users can manage their own account info.

On the backend, I set up a new ProfileController with endpoints to:

  • view their profile
  • update their name and bio
  • change their password
  • upload, view, and delete a profile image

I also created the DTOs needed to keep the data clean between the frontend and backend.

I ran into a few issues along the way, mostly with image usage, which caused some errors in the controller. Once those were fixed, everything started working as expected.

On the frontend, I added a new Angular service to handle all the profile calls. It follows the same pattern as the rest of the app and includes handling file uploads for profile images.

Overall, this gets the profile system fully working behind the scenes and ready to hook up to the UI next.




Comments

Popular posts from this blog

PharmaStock: Backend Infrastructure & Database Connectivity

PharmaStock Backend Progress Complete all backend endpoints

PharmaStock: Sprint Planning Complete