Created backed for the User Profile section #77
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
ISSUE #46
This PR introduces the User Profile backend system, allowing for the creation and management of user-specific data.
which will responsible for storing
This will help the user to keep the track of their present and past activities.
CHANGES AND IMPLEMENTATION
for fetching the required information for User Profile.
-Setup routes for handling user data
Added extra attributes in the Schems like, last login, past purachse, qunatity, price, recent viewed items, viewed at.
Created a .env variable for storing the mongod URI
Successfullt connected the Db (index.js)
Created Routes accordingly for the UserProfle.js and user.js in index.js
Successfully tested the API's on POSTMAN (GET, PUSH, PUT)
<img width="1441" height="1025" alt="Screenshot 2025-07-26 032401" src="https:

//github.com/user-attachments/assets/47f4404f-7a1e-4030-9ab0-40b2bb94ad9e" />