https://github.com/vinicamposdev/lambda-typescript
https://github.com/vinicamposdev/lambda-typescript
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/vinicamposdev/lambda-typescript
- Owner: vinicamposdev
- Created: 2022-11-13T11:06:15.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-13T11:27:10.000Z (over 2 years ago)
- Last Synced: 2025-06-22T19:05:07.050Z (6 days ago)
- Language: TypeScript
- Size: 70.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Serverless Framework Node with Typescript HTTP API on AWS
This template demonstrates how to make a simple HTTP API with Node.js and Typescript running on AWS Lambda and API Gateway using the Serverless Framework v3.
This template does not include any kind of persistence (database). For more advanced examples, check out the [serverless/examples repository](https://github.com/serverless/examples) which includes Typescript, Mongo, DynamoDB and other examples.
## Setup
Run this command to initialize a new project in a new working directory.
```
yarn
```## Usage
**Deploy**
```
$ serverless deploy
```**Invoke the function locally.**
```
serverless invoke local --function hello
```**Invoke the function**
```
curl https://xxxxxxxxx.execute-api.us-east-1.amazonaws.com/
```