Add a Billing API

Link to chapter -

So… if I understand the instructions correctly, we’re supposed to run sudo npm install --save stripe in serverless-stack-2-api then create a billing.js inside serverless-stack-2-api?

Because I ran sudo npm install --save stripe in both serverless-stack-2-api as well as the folder before it (the second run understandably failing due to lacking a package.json), but I couldn’t find an existing billing.js

Yup this chapter deals with the backend API.

Yes, you need the package for your backend API

1 Like