Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

πŸš€ "Go Serverless!" Example App to accompany the Conf42: Golang 2022 presentation

License

Notifications You must be signed in to change notification settings

elipZis/go-serverless

Repository files navigation

πŸš€ Go Serverless!

An accompanying example project to the Conf42: Golang 2022 presentation by Savas Ziplies.

A scaffold to deploy Golang framework-driven Serverless functions to AWS.

Pre-requisites

Quickstart

To run/test locally:

  • Run docker-compose up -d timescaledb-postgis localstack
  • (Optional) Create a local queue in localstack for testing: aws --endpoint-url=http://localhost:4566 sqs create-queue --queue-name goserverless-queue-dev
  • Copy .env.example to .env
  • Run the single commands or deploy

Deploy

  • cd .build/aws
  • sam build
  • sam deploy --guided for a first time deployment

Running

  • The "api" cmd: go build github.com/elipzis/go-serverless/api
  • The "queue" cmd: go build github.com/elipzis/go-serverless/queue
  • The "web" cmd: go build github.com/elipzis/go-serverless/web

Tech Stack

The main tech stack contains of

Credits

Thanks

Thanks to Conf42 for having me :)

License

The MIT License (MIT). Please see License File for more information.

About

πŸš€ "Go Serverless!" Example App to accompany the Conf42: Golang 2022 presentation

Topics

Resources

License

Stars

Watchers

Forks

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /