Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eoinsha/function-urls-vs-api-gateway
SAM Project with Function URL, REST API and HTTP API
https://github.com/eoinsha/function-urls-vs-api-gateway
Last synced: 15 days ago
JSON representation
SAM Project with Function URL, REST API and HTTP API
- Host: GitHub
- URL: https://github.com/eoinsha/function-urls-vs-api-gateway
- Owner: eoinsha
- License: other
- Created: 2023-03-24T14:37:14.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-24T14:40:01.000Z (almost 2 years ago)
- Last Synced: 2024-04-13T16:08:06.498Z (9 months ago)
- Language: TypeScript
- Size: 109 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Function URLs vs API Gateway (REST and HTTP API)
This repository contains an AWS SAM application that deploys a Lambda function with an API using three different deployment options:
1. API Gateway REST API
2. API Gateway HTTP
3. Lambda Function URLs.The goal of this project is to provide a quick and easy way to compare the three options and help you choose the best one for your use case.
## Prerequisites
Before you can deploy the application, you'll need to have the following installed:
- AWS SAM CLI
- AWS CLI
- Node.js## Getting Started
To get started with this project, follow these steps:
1. Clone the repository to your local machine.
2. Run `npm install` to install the necessary dependencies.
3. Run `sam build`
4. Deploy the application using the `sam deploy --guided` command.
5. Test the URLs output by the SAM CLI.