Created file MongoService to centralice all access to the database
Implemented the logic for the handeling of data inside the database
Integrated the corresponding MongoService Calls inside the services (add the review, or the shared locations to the database)
The connection to the database happends without problems but need to test further
TO-FIX:
Right now if we use LocationType inside a schema it gives a compilation problem so I am using a plain String instead
The creation of a Blob creates an error because it is reading null
Change the url of the mongo database and create a file to store the password instead of hardcode it
TO-DO:
Creation of endpoint to modify the visibility of a location, the database logic is already implemented
Creation of endpoint and hooks for removing a friend from the database, the logic and the hook are already implemented
DONE:
Created file MongoService to centralice all access to the database Implemented the logic for the handeling of data inside the database Integrated the corresponding MongoService Calls inside the services (add the review, or the shared locations to the database)
The connection to the database happends without problems but need to test further
TO-FIX:
Right now if we use LocationType inside a schema it gives a compilation problem so I am using a plain String instead The creation of a Blob creates an error because it is reading null
Change the url of the mongo database and create a file to store the password instead of hardcode it
TO-DO:
Creation of endpoint to modify the visibility of a location, the database logic is already implemented Creation of endpoint and hooks for removing a friend from the database, the logic and the hook are already implemented