chaynHQ/bloom-frontend

Make a new GET /user/me endpoint

Closed this issue · 0 comments

Overview

We want to at some point be using Rest properly. Currently, this is not the case. Each endpoint which deviates from REST patterns should be duplicated and corrected. We can later migrate the frontend over to the correct endpoint and delete the incorrect usage. We don't need to be super strict but just better than where we are now.

Action Items

  • See bloom-backend/src/user/user.controller.ts. Look for the /v1/user/me endpoint
  • Duplicate the endpoint but as a GET request. Do not delete the old version. The functionality should be the same.
  • Write some comments to explain the transition and which endpoint should be used and which is going to be archived

Resources/Instructions