Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rubencodeforges/angular-google-tasks-test-waes
https://github.com/rubencodeforges/angular-google-tasks-test-waes
Last synced: 16 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/rubencodeforges/angular-google-tasks-test-waes
- Owner: rubenCodeforges
- Created: 2017-04-21T14:16:49.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-07T09:11:25.000Z (over 7 years ago)
- Last Synced: 2024-11-10T17:02:33.899Z (2 months ago)
- Language: JavaScript
- Size: 3.04 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Google tasks App
[Demo](http://codeforges.com/google-tasks/)
[repo](https://github.com/rubenCodeforges/angular-google-tasks-test-waes)
This project was generated with [angular-cli](https://github.com/angular/angular-cli)
## Intallation
- clone project
- cd to project
- run command```
npm install
```## Configuration of ng-gapi
The configs are are provide to the `forRoot()` method, replace `CLIEND_ID` with your client_id
```typescript
let gapiClientConfig: ClientConfig = {
clientId: "CLIENT_ID",
discoveryDocs: ["https://analyticsreporting.googleapis.com/$discovery/rest?version=v4"],
scope: [
"https://www.googleapis.com/auth/analytics.readonly",
"https://www.googleapis.com/auth/analytics"
].join(" ")
};@NgModule({
imports: [
//...
GoogleApiModule.forRoot({
provide: NG_GAPI_CONFIG,
useValue: gapiClientConfig
}),
//...
]
})
export MyModule {}
```## ng-gapi
Ng gapi is a npm module that can be install via npm
See the [repo](https://github.com/rubenCodeforges/angular2-google-api) or [npm](https://www.npmjs.com/package/ng-gapi)