https://github.com/moesif/moesif-aws-lambda-node-js-example
Example using Moesif API Analytics with AWS Lambda
https://github.com/moesif/moesif-aws-lambda-node-js-example
Last synced: 6 months ago
JSON representation
Example using Moesif API Analytics with AWS Lambda
- Host: GitHub
- URL: https://github.com/moesif/moesif-aws-lambda-node-js-example
- Owner: Moesif
- Created: 2019-11-21T20:30:16.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-11-13T18:01:37.000Z (11 months ago)
- Last Synced: 2025-04-12T04:53:50.407Z (6 months ago)
- Language: JavaScript
- Size: 92.8 KB
- Stars: 1
- Watchers: 8
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Moesif AWS Lambda Example for Node.js
[Moesif](https://www.moesif.com) is an API analytics platform.
[moesif-aws-lambda-nodejs](https://github.com/Moesif/moesif-aws-lambda-nodejs)
is a middleware that logs API calls to Moesif for AWS Lambda.This example is an express application with Moesif's API analytics and monitoring integrated.
## How to run this example.
Create a new AWS Lambda function that is trigged by AWS API Gateway
Upload this zip, when prompted for handler, enter `index.handler`
You will also want to add an environment vairable `MOESIF_APPLICATION_ID` with the value being your
application id from your Moesif accountGo to the URL for the API gateway such as https://XXXXXX.execute-api.us-west-2.amazonaws.com/default/my-test-function
The API Calls should show up in Moesif.