Google Oauth integration
Step 1 : Log in to google console and create a new project. Step 2 : Enable calendar api to project. Step 3 : Setting Up Oauth2 Consent Screen. Step 4: Create Credentials and get Public key and Secret Key Step 5: Setting up react front-end app with ‘axios’ and ‘react-google-login’ and ‘gapi-script’ dependencies. Step 6: Creating the google sign in button and a data insertion form to create an event. Step 7: Creating node js backend with express and nodemon dependencies. Step 8: Further install ‘googleapis’ to connect google calendar using ‘refresh_token’ from the user. Step 9: Getting data from the user using ‘axios’ and inserting it to google calendar. Step 10: Sending the events to the frontend to print it on the console.
Google login and insert events
Comments