I use FullCalendar in my application to display events created using our own application.
I have an add / change form for creating / updating events. These events are stored in the db used by the application.
I need to move on from this and need to sync Google and Outlook calendars to my calendar. It should be 2 sync ie
If I create / edit / update an event in my calendar, it must be created / edited / deleted in Google / Outlook calendars.
It should also be the other way around.
If I made changes to the Google / Outlook calendars, it should be visible on my calendar.
I would like you to think about this:
Should I get all Google / Outlook events and import them into my db and then display them in my calendar view. Is it even technically possible? ie import the whole set of channel events into my db.
Should I just do a GET via the Google / Outlook API to receive events for a specific view, where I am now on my calendar (I will have the initial data and the end date of my calendar view) and just show them on my calendar (i.e. I do not store these external events in my db). If the user wants to make any changes to the events that need to be updated directly in the Google / Outlook calendars, through their API calls to create / update and delete.
What should be the best approach?
Edit:
I went to https://calendar.sunrise.am/ (one of the web-based calendar sync apps) and noticed

ie they allow you to customize the calendars / tasks of various applications in your calendar.
Having seen everything that I feel that saving all the events of all these applications in our own db application is not possible. If any change occurs with these events through my application, I must call the API of these applications in order to make this change in my application (Google Calendar, Outlook, etc.).
What do you think?
java c # outlook calendar fullcalendar
Raghav
source share