This is the project to explain how can we perform the CRUD actions in EJ2-React Scheduler by integrating Google Calendar API.
To run this project follow the below steps,
- Clone this project
- Install packages using
npm install - Create a google cloud console project.
- Go to google cloud console using the following link.
- Create a new project.
- Go to navigation bar.
- Click APIs and services.
- Click Configure consent screen.
- Click get started.
- Fill the details and click create.
- Navigate to Audience.
- Add your mail-id in test-users.
- Navigate to clients.
- Create client.
- Application type - web application.
- Add http://localhost:3000/ to Authorised JavaScript origins and Authorised redirect URIs.
- Save the client-id for future uses.
- Navigate to Navigation bar -> APIs and services -> library.
- Search for google calendar API.
- Click enable.
- Replace your calendar-id and client-id in the schedule.js.
- Run this project using
npm startcommand.
To generate the Client ID please visit the quickstart page.