Skip to content
This repository has been archived by the owner on Feb 4, 2022. It is now read-only.

Creating Your 'Serverless' Backend

Ryan Daulton edited this page Apr 17, 2018 · 1 revision

Deploying Microservices / Cloud Functions

Since I happened to use Google Cloud Platform for this app, I'll briefly cover that here. However, the principle is the same for AWS or any other cloud service.

1.) Visit the Google Cloud Functions welcome page, and sign up for a free trial, or sign in to your Google Cloud account.

2.) Once logged in to your Cloud Platform Console, select the hamburger menu on the left, and enter the "Cloud Functions" management section.

gcf-menu

3.) From here, you will create a new cloud functions using the code provided in the Microservices folder

Deploying...

4.) Select Inline Editor under the Source code option, or upload using the CLI, using the code supplied in this repo.

5.) Ensure that you have replaced the pieces of code, where necessary, with your Stripe information, Google client keys, and/or references to your Firebase project.

Please Note that some of the cloud functions code provided in this repo are Firebase Triggered functions, while others are HTTP triggered.