大致的功能如下
1.先到 Google雲端後台 . https://console.developers.google.com/apis/dashboard
3.啟用API,
- 資料庫 >
- 搜尋 : Google Drive API
- 啟用 Google Drive API
5.再到 Google雲端後台 . Google Cloud Platform Console 並選則憑證

這邊可以看之前申請的Key,也可以複製金鑰
- 下載 https://github.com/kirinchen/google-drive-angular.git
或者
git clone https://github.com/kirinchen/google-drive-angular.git - cd 到 [root ]] 專案下/
- run
npm install - 修改 [root]/src/environments/environment.ts
export const environment = {
production: false,
clientId: '{OAuth 2.0 用戶端 ID}',
apiKey: '{API KEY}'
};Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.
Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.
Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.
To get more help on the Angular CLI use ng help or go check out the Angular CLI README.
Main Logic is src/app/auth/auth.component.ts






