A simple implementation of Google Task APIs with Angular 5.x. If you are new to Angular, this project will help you to grasp some of the main concepts of the Angular/TypeScript and learn a few other useful techniques!
- Angular Module usage
- Create dumb ui components
- Usage of services
- Unit testing techniques
Run yarn
or npm install
Create a google-api.json in your application root directory with following structure:
{
"GOOGLE_API": {
"API_KEY": "",
"CLIENT_ID": ""
}
}
In order to run the application, you need to get your API Key and Client ID from the Google Developer Console. You can find out more in here: https://developers.google.com/google-apps/tasks/quickstart/js
Run ng serve
or yarn serve
Run ng test
or yarn test
Run yarn compodoc
to generate the code documentation for the project with compodoc.
Run ng build
or yarn build
to build the project. The build artifacts will be stored in the dist/
directory. Use the -prod
flag for a production build.