The goal of this project is to provide interactive samples of meaningful operations with Lob's SDKs.
It consists of a single UI that interfaces with one of the backend implementations. Each demo backend provides the exact same functionality implemented using the associated Lob SDK.
First, you will need to first create an account at Lob.com and obtain your Test and Live API Keys.
Once you have created an account, you can access your API Keys from the Settings Panel.
An up-to-date version of Docker installed locally.
Edit the .env
file to include your API keys
The following command will start the typescript sdk demo locally and a web interface in a separate container.
docker compose up typescript-demo
Then, to open the web interface either go to http://localhost:8081/ or run the following console command
open http://localhost:8081/
In order to launch other demo implementations, simply run the "Docker Command" with the desired backend within the following table:
Demo Name | Docker Command | SDK Link |
---|---|---|
typescript-demo | docker compose up typescript-demo |
https://github.com/lob/lob-typescript-sdk |
lob-node-demo | docker compose up lob-node-demo |
https://github.com/lob/lob-node |
lob-java-demo | docker compose up lob-java-demo |
https://github.com/lob/lob-java |
Note: add a -d
to any of the docker commands to detach the running instance from your active terminal.
Note: add a --build
while developing locally
docker compose down all