Arquisoft / lomap_en1b

LoMap Software architecture group en1b course 2022_23
http://lomap.mariopdev.com
1 stars 1 forks source link

RestAPI shared locations with friends ✔️ #106

Closed uo276670 closed 1 year ago

uo276670 commented 1 year ago

Summary

Quick note

I think a field "owner" should be added to the Review type to show the name of the person who made the review.

The functionality of sharing friends is done at a 90%, that 10% being :

FIXES

General

The locations, Reviews and the Friends work correctly. Tested with more than one friend, locations from more than one friend retireved alltogether, your own locations also show. This also applies to reviews being written from different accounts and showing correctly in the corresponding location

MongoService

Fixed some erros regarding the use of the mongoose queries. JSON.stringify() gave some problems and fixed some mapping errors

TO-FIX