Calendar Server
Offers support to manage Google Calendar events.
Create Test Credential Account
This guide uses a test account and credential. For production, LGU should enable a Google Account and Credential.
-
Open web browser and visit https://developers.google.com/calendar/quickstart/nodejs
-
Under Step 1: Turn on the Google Calendar API, click on Enable the Google Calendar API.
-
Enter on the Enter new project name and click Next.
-
On the Configure your OAuth Client, select Desktop App.
-
Click on DOWNLOAD CLIENT CONFIGURATION and save the file "credentials.json".
-
Copy both the Client ID and Client Key and save it on a file for later reference.
-
Click on Done.
Configuring and Running Calendar Server
-
Copy "credentials.json" on the "docker/calendar/credentials" folder.
-
Open "docker/calendar/docker-compose" and verify that the credentials folder is properly mounted.
-
Run calendar container.
API
-
Insert event
Url: /calender/event/insert
Method: POST
Body (example json event) :
-
List events
Url: /calender/event/list
Method: GET