Calender Manager Since Publishing status is set "Testing", you won't be allowed to get authorised by google until added by me as test user. Please write me at vedanttripathi661@gmail.com to have permission.
To Run:
- install nodeJS and npm.
- Navigate to the folder.
- run "npm i" on terminal.
- run "node index.js"
Server will start on port 3000.
It has following APIs:
- GET localhost:3000/events to view all the upcoming events. (10 allowed for now).
- GET localhost:3000/login will redirect to Google authorization page to make changes in your calender and to get token.
- POST localhost:3000/events to add new event events. Body should contain following Json object and will return the added object. \
{
"summary": "Testing Vedant's Calendar app.",
"location": "India",
"description": "Working on an assignment",
"start": {
"dateTime": "2022-12-24T09:00:00-07:00",
"timeZone": "Asia/Kolkata"
},
"end": {
"dateTime": "2022-12-24T17:00:00-07:00",
"timeZone": "Asia/Kolkata"
},
"attendees": [
{
"email": "vedanttri661@gmail.com"
}
],
"reminders": {
"useDefault": true
}
}