https://github.com/allenfang/lua-resty-aws-boilerplate
It's a boilerplate for Lua OpenResty AWS SDK
https://github.com/allenfang/lua-resty-aws-boilerplate
Last synced: 9 months ago
JSON representation
It's a boilerplate for Lua OpenResty AWS SDK
- Host: GitHub
- URL: https://github.com/allenfang/lua-resty-aws-boilerplate
- Owner: AllenFang
- Created: 2023-11-03T06:10:26.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-19T06:28:08.000Z (over 2 years ago)
- Last Synced: 2025-07-06T00:32:48.902Z (about 1 year ago)
- Language: Lua
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# lua-resty-aws-boilerplate
It's a minimal OpenResty setup for `lua-resty-aws` SDK in MacOS(M2 chip). We will provide another OS(eg. Linux) boilerplate soon.
### Prerequisite
- Lua@5.1
- Luarocks
- OpenResty
- Please understand how to create a hello world in OpenResty https://openresty.org/en/getting-started.html
You can install necessary dependencies by below commend:
```brew install openresty/brew/openresty luarocks lua@5.1 pcre openssl curl```
### How to use
```bash
git clone git@github.com:AllenFang/lua-resty-aws-boilerplate.git
cd lua-resty-aws-boilerplate
luarocks install lua-resty-aws-boilerplate-dev-1.rockspec
```
### Start
```bash
nginx -p `pwd`/ -c conf/nginx.conf
```
If you have nginx commend, please read: https://openresty.org/en/getting-started.html#start-the-nginx-server
### Stop/Reload
```bash
nginx -s stop
nginx -s reload
```
TBD
- use localstack
- get credential from env
- provide most sqs method
- provide other aws functionality