Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/emilhein/go-aws-webserver
A small webserver written in Go, to perform simple tasks on your AWS ressources
https://github.com/emilhein/go-aws-webserver
aws go-api go-websocket-server websocket-server
Last synced: about 16 hours ago
JSON representation
A small webserver written in Go, to perform simple tasks on your AWS ressources
- Host: GitHub
- URL: https://github.com/emilhein/go-aws-webserver
- Owner: emilhein
- License: apache-2.0
- Created: 2019-10-23T07:27:29.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-14T15:29:06.000Z (over 1 year ago)
- Last Synced: 2024-06-20T09:07:24.661Z (5 months ago)
- Topics: aws, go-api, go-websocket-server, websocket-server
- Language: Go
- Size: 28.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/emilhein/go-aws-webserver.svg?branch=master)](https://travis-ci.org/emilhein/go-aws-webserver)
Example [here](https://github.com/emilhein/go-heroku-server)
# go-aws-webserverA small webserver written in Go, to perform simple tasks on your AWS ressources
### How to use
NOTE: Remeber to set aws credentials when you deploy this server
Make sure you have AWS credentials available on your computer:
Windows: C:\Users\{USERNAME}\.aws\credentials
```
package mainimport (
"github.com/emilhein/go-aws-webserver/webserver"
)func main() {
webserver.Start()
}```
Now you have a webserver with some already defined endpoints for your AWS ressources.
For now the most usefull endpoint is:
POST: localhost:3000/getS3files
A POST body request in postman could look like this:
```
{
"bucket" : "YOUR_BUCKET",
"filepaths" : ["json_file_1", "json_file_2"]
}```