- Node version 14 or higher is required
- A Momento Auth Token is required, you can generate one using the Momento Console
This directory contains several subdirectories with different types of example projects:
- Access Control - How to implement access control using Momento API tokens
- AWS Secrets Manager - How to retrieve a Momento auth token stored as a secret in AWS Secrets Manager and use it to create a cache
- Cache Examples - How to use Momento Cache
- Lambda Example - Topics Microservice - Creates a microservice using API Gateway and an AWS Lambda function to ingest data into a topic in Momento Topics
- Load Generator - An example load generator for observing Momento performance
- MongoDB + Momento Cache Read-aside Example - A simple example of using Momento Cache as a read-aside cache for simple MongoDB calls
- Observability - How to configure logging, metrics and traces
- Token Vending Machine - Built using AWS CDK, API Gateway and Lambda, the primary use for the Token Vending Machine is to provide temporary, restricted scope Momento Auth tokens. These tokens can be used by browsers that are running apps written against the Momento Web SDK.
- Topic Examples - How to use Momento Topics (aka PubSub)