sahat / hackathon-starter

A boilerplate for Node.js web applications
MIT License
34.8k stars 8.16k forks source link

Rescope GoogleAPIs #1234

Closed YasharF closed 1 year ago

YasharF commented 1 year ago

The initial load time (startup) for api.js is 61204ms, and 39920ms of that is for loading googleapis. The module is massive because it covers (almost) all Google's APIs. We can load a subset of the APIs to reduce the amount of time it takes to start the app. See https://github.com/googleapis/google-api-nodejs-client#installation

YasharF commented 1 year ago

Fixed by https://github.com/sahat/hackathon-starter/commit/68155ef54a0d5863e69b775f12e9b88d6f98bd33