The documentation. This app is a part of the tutorial. It consists of multiple parts:
proto
- you can find proto definition herebackend
- the implementation of backend in golang. It has two executables -cmd/localserver/main.go
andcmd/awslambda/main.go
.frontend
- the simple react app, that only calls the backenddeployment
- the serverless framework file, that deploys the whole solution on aws lambda
You can run environment locally using command make run-local
.
To deploy it to lambda you need to call make deploy
and then replace the lambda url in the Makefile.
Then you can run react app with newly deployed backend using run-frontend-with-aws-be
.