Sample app that demonstrates how to use TypeDB + LocalStack, to develop and test cloud applications locally.
- Docker
- LocalStack Pro (free trial available here)
localstack
CLIterraform
CLI
To enable the TypeDB extension in LocalStack, use this command:
$ localstack extensions install "git+https://github.com/whummer/localstack-utils.git#egg=localstack-typedb&subdirectory=localstack-typedb"
To deploy the sample app to LocalStack, run the following make
target:
$ make tf-deploy
Once the app is deployed, we can run some HTTP requests against the local API Gateway, which spawns a local Lambda function, and interacts with local TypeDB:
$ make requests
The code in this repo is available under the Apache 2.0 license.