Currently I written a Firestore.service. API scripts (like Firestore) should be in a separate api folder. This way I could easily see what files have connection with external API's and move them easier to Cloud Functions later on.
The api folder could even be grouped together with interfaces and/or classes.
Currently I written a
Firestore.service
. API scripts (like Firestore) should be in a separateapi
folder. This way I could easily see what files have connection with external API's and move them easier to Cloud Functions later on.The
api
folder could even be grouped together withinterfaces
and/orclasses
.Example: https://github.com/vuejs/vuex/tree/dev/examples/shopping-cart