This repo contains a LocalStack Extension that facilitates developing TypeDB-based applications locally.
After installing the extension, a TypeDB server instance will become available under typedb.localhost.localstack.cloud:4566, allowing you to create and manage TypeDB databases directly from your AWS applications running in LocalStack.
For example, you could create a microservice backed by a Lambda function that connects to a TypeDB database upon invocation. See here for a simple example application that makes use of this extension.
The following environment variables can be passed to the LocalStack container (make sure to prefix them with LOCALSTACK_... when using the localstack start CLI), to steer the behavior of the extension:
TYPEDB_FLAGS: Additional user-defined command args to pass to the TypeDB container.TYPEDB_HTTP2_PROXY: Flag to enable/disable HTTP2 proxy for gRPC traffic (use this if you experience network issues, and use the HTTP variant of the TypeDB driver).
- Docker
- LocalStack Pro (free trial available)
localstackCLImake
This extension can be installed directly from this Github repo via:
localstack extensions install "git+https://github.com/localstack/localstack-extensions.git#egg=typedb&subdirectory=typedb"Please refer to the docs here for instructions on how to start the extension in developer mode.
0.1.1: Minor fixes in CI setup, exception handling0.1.0: Initial version of the extension
The code in this repo is available under the Apache 2.0 license.