Giter Site home page Giter Site logo

convin's Introduction

Convin

Demo Video

screen-capture.webm

Extras

  • I have followed the git rebase oriented workflow.

  • Each commit has been created with a meaningful commit message.

  • Helper functions are used instead of putting everything inside views. DRY

  • Only Google's provided standard libraries are used.

  • URL configurations keeping extensiblity (v2, v3) in mind.

  • Exception handling with appropriate status codes.

  • rest/v1/calendar/init

    returns the auth_url.

    now depending on the client e.g. mobile, desktop, etc. we can open (prompt) the url in a new browser tab.

  • rest/v1/calendar/redirect

    serves as a redirect URI.

    It fetches auth_code and then exchanges the code for 'access_token' and 'refresh_token' from the google' server.

  • We can use any client to access the api endpoints

Important Note:

  • If the status of our app is set to Production (i.e. everyone can use it)

    • Then our app needs verification from Google to use the scope (which is not possible in 48 hours)
  • Currently the status of our app is set to Testing

    • A whitelisted set of users can use the scope without verfification (Which is our case)
  • Hence, If you want to test this via convin.pythonanywhere.com

    • Login using this Google account (I have whitelisted this as test user)
    • Account: [email protected] , Password: TestAccount@1144
  • Another option is to setting this up locally and configuring your own client_secret.json and test users.

convin's People

Contributors

prakhar1144 avatar

Watchers

 avatar

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.