Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 992 Bytes

README.md

File metadata and controls

19 lines (16 loc) · 992 Bytes

Google Tasks API TypeScript Example

Very basic (and sometimes ugly) but working example of Google Tasks API usage in TypeScript for Browser

Instructions:

  1. git clone https://github.com/Maxim-Mazurok/google-tasks-api-ts-example
  2. cd google-tasks-api-ts-example
  3. npm install
  4. Get Client ID and API key: instructions
  5. Set CLIENT_ID and API_KEY in src/index.ts
  6. Run npm run compile to compile TS to JS (index.js should appear in dist folder)
  7. Start your server (using https-serve + edit hosts file, or ngrok)
  8. Authorize, and you'll see your TaskLists as well as Tasks within those TaskLists

Troubleshooting:

  • Always look in the browser console for errors
  • Make sure that you're serving via https (using https-serve + edit hosts file, or ngrok)
  • Make sure that your domain is added in Google developer console
  • You can open issue here if you need help