juninhokaponne / friendRecomendation

This project aims to use a simple recommendation algorithm, initially it was made for a challenge and today it counts as a free repository for everyone to contribute.
3 stars 5 forks source link

[Feature] [hacktoberfest] Get all(person or realtionship) on one go just like we are getting the person via 'GET /person/:CPF' #5

Closed manzil-infinity180 closed 1 year ago

manzil-infinity180 commented 1 year ago

confused to do so , sir please help me , how i can acheive that things

juninhokaponne commented 1 year ago

The requirements of the document found in the documentation required the division of functionalities, thus separating Get user relationship and another to get only the person using the CPF (identification document). I don't know if it would be good to do this in just one feature, can you give me more details and an example?

manzil-infinity180 commented 1 year ago

The requirements of the document found in the documentation required the division of functionalities, thus separating Get user relationship and another to get only the person using the CPF (identification document). I don't know if it would be good to do this in just one feature, can you give me more details and an example?

Like using mongodb we use - UserSchema.find() to get all data related to that schema like this we can get all person detail (something like this)

juninhokaponne commented 1 year ago

Got it, it looks interesting, do you want to implement this? But just make sure the tests don't get interrupted. If you need help, you can contact me.

If you agree to do it, I'll do a review after that.

manzil-infinity180 commented 1 year ago

Got it, it looks interesting, do you want to implement this? But just make sure the tests don't get interrupted. If you need help, you can contact me.

If you agree to do it, I'll do a review after that.

Sir it looks difficult to me , help me by how i can achieve this

juninhokaponne commented 1 year ago

Of course, first let me make sure I understand your question correctly, you want to create a new route of type getAll(person or realtionship) and for this you exemplified using mongo UserSchema.find(). Is this your main doubt?

juninhokaponne commented 1 year ago

I'll closed this issue and you can send your questions, comments, improvements and more here on your another issue that's assigned for you. https://github.com/juninhokaponne/friendRecomendation/issues/6