Skip to content

Commit 63dffd4

Browse files
author
Mikael Vesavuori
committed
Update
1 parent 6e0f372 commit 63dffd4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

04-serverless-and-apis/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ By some, it's seen as an anti-pattern to let one function call another. This is
103103

104104
### APIs: From REST to GraphQL
105105

106-
An API is a common way of accessing backend functionality
106+
An API is a common way of accessing backend functionality.
107107

108108
When you've used ("consumed") or written APIs before, that was probably in REST. REST is a type of format that uses the basic HTTP verbs to specify what you receive from a given endpoint. Another common pattern is to specify individual endpoints per type of transaction, such as `getCustomers` or `createOrder`. The problem of the classical REST endpoints has been that you soon have a great number of endpoints that may very well do their job, but have no way of easily stitching pieces of data together, and are unable to finely specify what data you expect.
109109

@@ -212,6 +212,8 @@ Best practice for security is to have minimum permissions per application: this
212212

213213
_For this session, we will reuse the same keyfile (effectively: the same service account) between both the labeling service and the API, as that cuts a bit of time—but beware that for production, you might not want to share keys/roles like that._
214214

215+
_Also, go to the [APIs & Services](https://console.cloud.google.com/apis/library) and enable the APIs for *Deployment Manager v2 API* and *Cloud Vision API*._
216+
215217
### Step 4: Deploy the labeling service with Serverless Framework
216218

217219
Deploying is really easy, just run `sls deploy`. Given that there are no errors, this process should take no more than maybe a minute or two.

0 commit comments

Comments
 (0)