darenc9 / FitFuture

https://fit-future.vercel.app
0 stars 0 forks source link

Create profile-service File #49

Closed mfunkel closed 3 months ago

mfunkel commented 3 months ago

User Story As a user, I would like to save my profile information so that I can have a personalized experience with my fitness journey.

Description For the profile data to be persisted in our database, we need a way to connect and interact with the Profile collection in the database. A profile-service.js file should be prepared with methods of connecting to the collection, as well as functions for querying (such as get all, get by id, add new, update, remove by id, etc.). Any base capabilities that we believe the Profile class might need for us to interact appropriately should be created.

Acceptance Criteria

Testing

mfunkel commented 3 months ago

Note: Profile stores userId, but it is currently dummy as the User object does not exist yet - will need to be updated/integrated in future sprint when User handling is created.