CSC207 Project
An interactive social media that allows people to create events and gather offline.
- Registered users can start real-time small gathering events open for other users to join.
- Registered users can also search up and join offline events that are nearby.
- See diagram:
-
Bing Maps
https://learn.microsoft.com/en-us/bingmaps/
https://learn.microsoft.com/en-us/bingmaps/rest-services/locations/find-a-location-by-point (specific API used in the java code)
- Update the map in real time.
When a user starts an event, the event location will be added to the application's map, other users will see this event instantly on their Map view. We want to enforce this feature by automatically update information shown by the API as soon as an event is created. We don't know if it is possible at this point.
- Events "pinned" on the map move as user moves the map on their view.
When looking for an event to join, users not only can use the Search feature, but also casually look around on their Map View. The Map View (rendered by the API) should show any events happening within the View as pins. When the user move their View, the map pins should also change. Some may disappear as their location is out of the current View, some may appear as their location is now inside the View, some may move within the View.
-
DAO a) UserDAO decides to use a csv file as the database. It stores all information to instantiate a user. In particular, joinedEvents and createdEvents will only be stored as a list of numbers separated by commas. Each number is a unique ID that corresponds to an event.
b) UserDAO depends on EventDAO. When getting data out from the database and put entity objects into the system, UserDAO calls EventsDAO to instantiate an Arraylist of Events based on IDs extracted from the CSV. The method makeEvents is implemented in EventDAO.