https://github.com/dcb9/kvass
use AWS S3 as key/value storage via http
https://github.com/dcb9/kvass
kv lambda s3 serverless
Last synced: 6 months ago
JSON representation
use AWS S3 as key/value storage via http
- Host: GitHub
- URL: https://github.com/dcb9/kvass
- Owner: dcb9
- Created: 2017-12-26T09:20:06.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-05T06:00:43.000Z (about 8 years ago)
- Last Synced: 2025-03-20T17:19:13.669Z (about 1 year ago)
- Topics: kv, lambda, s3, serverless
- Language: Go
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# KVAss
a small function that using AWS S3 as key/value storage via HTTP API
### Requirements
- Golang
- [Apex](http://apex.run/)
- [AWS credentials](http://apex.run/)
## Init
```shell
$ make init
```
## Deploy
```shell
$ make deploy
```
I recommanded a tool, [direnv](https://direnv.net/) to localize and automatically set the variables when you're working on a project.
# Invoke
### PUT
PUT 'Invoke URL'/__KEY__
request body: __BODY__
response status code: 201
### GET
GET 'Invoke URL'/__KEY__
response content type: text/plain
response status code: 200