Create a Google Classroom testing account (using the Questable Gmail account, login in Slack) and use it to login/authenticate/connect to the Google Classroom REST API
Create a component <GCRAPILogin /> in src/components/teacher that will contain the login button for GCR account and the authentication logic for GCR
For cleanliness you can also create a GCRAPI.tsx file in src/utils
Import and display <GCRAPILogin /> in routes/teacher/ClassSettings.tsx to make sure it works
Backend
A Google Classroom account has already been created for you using the Questable Gmail account
You will also need a Google Cloud account, one has already been made with the Questable Gmail account
Implement functionality to connect with the GCR API in GCRAPILogin />. In general, these are the steps you MIGHT need to take in the authentication process:
Upon click of a "Login" button in <GCRAPILogin />, send the user to some login portal (to log into GCR account)
Upon login, redirect the user back to Questable and serve them with an authentication token
Use the authentication token to make authenticated requests to the GCR API (for various sorts of data)
GCR API: Login and Authentication
Overview
Create a Google Classroom testing account (using the Questable Gmail account, login in Slack) and use it to login/authenticate/connect to the Google Classroom REST API
Resources
Frontend
<GCRAPILogin />
insrc/components/teacher
that will contain the login button for GCR account and the authentication logic for GCRGCRAPI.tsx
file insrc/utils
<GCRAPILogin />
inroutes/teacher/ClassSettings.tsx
to make sure it worksBackend
GCRAPILogin />
. In general, these are the steps you MIGHT need to take in the authentication process:<GCRAPILogin />
, send the user to some login portal (to log into GCR account)