https://github.com/jimlynchcodes/basic-rust-lambda
A simple serverless miscroservice in Rust.
https://github.com/jimlynchcodes/basic-rust-lambda
Last synced: 11 months ago
JSON representation
A simple serverless miscroservice in Rust.
- Host: GitHub
- URL: https://github.com/jimlynchcodes/basic-rust-lambda
- Owner: JimLynchCodes
- License: gpl-3.0
- Created: 2020-01-26T16:29:09.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-24T01:13:59.000Z (over 3 years ago)
- Last Synced: 2025-03-29T11:43:30.463Z (about 1 year ago)
- Language: Rust
- Homepage:
- Size: 688 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Basic-Rust-Lambda
Just da basics...
# To Run Locally
Make sure you install serverless dependencies (only need to do this once):
```
npm i
```
Then, inside of the `basic-rust-lambda` directory, invoke locally (be sure to pass `local` with your invoke command):
```
npx serverless invoke local -f hello -d "$(cat local-invoke-payload.json)"
```
# Scaffolding
Scaffolded with (softprops/serverless-aws-rust-http)[https://github.com/softprops/serverless-aws-rust-http] with this command:
```
npx serverless install \
--url https://github.com/softprops/serverless-aws-rust-http \
--name my-new-api
```