Skip to content

A small webserver written in Go, to perform simple tasks on your AWS ressources

License

Notifications You must be signed in to change notification settings

emilhein/go-aws-webserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Example here

go-aws-webserver

A 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 main

import (
	"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"]
}

About

A small webserver written in Go, to perform simple tasks on your AWS ressources

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages