Google Auth with REST API and People API example
How to run:
- Follow the following guide to get "creds.json" file and put it main folder: https://developers.google.com/people/v1/getting-started#project
- run "npm i" to install dependencies
- run "npm start" to run the program (runs "ts-node index.ts)
If you need to use the authentication code for other google service, just change the "SCOPE" const in the "auth.ts" file.