Giter Site home page Giter Site logo

arscalendar's Introduction

arscalendar

Arscalendar is a React application which uses Google Calendar API and OAuth2.0, connects the application with your personal primary Google Calendar. By using the application, you are able to view the list of the events, plus create the new ones, and delete them from the calendar.

Getting started

Google Calendar API

Follow the next steps to set up your Google Calendar project, which is necessary to run the application:

  1. Go to Google Cloud Platform, and from the dropdown menu click on New project, name your project and click Create. Once the new project is created, select the new project from the dropdown menu (if the project is not already selected)

  2. Click on the burger menu and choose APIs & Services -> choose OAuth consent screen -> choose External -> click Create

  3. Follow the next steps:

OAuth consent screen

  • App information -> App name The name of the app -> User support email Your Gmail address
  • Developer contact information -> Email addresses Your Gmail address
  • click SAVE AND CONTINUE

Scopes

  • click ADD OR REMOVE SCOPES -> choose .../auth/userinfo.email, .../auth/userinfo.profile, openid, .../auth/calendar.events -> click UPDATE
  • click SAVE AND CONTINUE

Test users

  • click ADD USERS -> add Your Gmail address (You can add other users as well) -> click ADD
  • click SAVE AND CONTINUE
  1. Go to Credentials:
  • click CREATE CREDENTIALS -> choose API key (Once the key is created, use it in your application)
  • click CREATE CREDENTIALS -> choose OAuth client ID -> Application type Web application -> Name The name of the app -> Authorized Javascript origins http://localhost:3000 -> click CREATE (Once the Client ID is created, use it in your application)

Notes

  • when signing in for the first time, choose your Gmail address on the pop-up window
  • click Continue -> click on the check-box related to your Google calendar -> click Continue

Run the application

Follow the installation process to run the application:

  1. Clone the repo:
git clone https://github.com/urisk333/arscalendar
  1. Add the credentials:
  • Create .env file in the app's root folder, and add the credentials, created in the previous steps, to the file:
REACT_APP_GOOGLE_CLIENT_ID=
REACT_APP_GOOGLE_API_KEY=
  1. Run the application:
cd arscalendar/calendar
npm i
npm start

Tech stack

Author

Ivan Car - GitHub / LinkedIn

arscalendar's People

Contributors

urisk333 avatar

Watchers

 avatar

Forkers

lekshmi748

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.