> ## Documentation Index
> Fetch the complete documentation index at: https://upstash-fix-issues-on-docs.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Serverless Redis on Google Cloud Functions

Google Cloud Functions is the second most popular serverless execution platform.
Similar to AWS Lambda it is stateless, namely you need to access external
resources to read or write your applications state. In this post, we will
introduce Redis as a database for your Google Cloud functions.

This tutorial shows how to build a serverless API with Redis on Google Cloud
Functions. The API will simply count the page views and show it in JSON format.

See the demo: [https://us-central1-functions-317005.cloudfunctions.net/helloGET](https://us-central1-functions-317005.cloudfunctions.net/helloGET)

See the code:
[https://github.com/upstash/examples/tree/master/examples/using-google-cloud-functions](https://github.com/upstash/examples/tree/master/examples/using-google-cloud-functions)

### The Stack

* Serverless compute: Google Cloud Functions (Node.js)
* Serverless data store: Redis via Upstash
* Deployment tool: gcloud

<Snippet file="redis/getstarted_google_cloud_functions.mdx" />
