From c4fd96d930de7ede80b6aca35f2161a3345d1415 Mon Sep 17 00:00:00 2001 From: Russell Steadman Date: Sun, 9 Apr 2023 22:33:50 -0400 Subject: [PATCH] Release v0.1.0 --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2acab9e..b2cd99a 100644 --- a/README.md +++ b/README.md @@ -23,10 +23,13 @@ First you'll need to import the AWS sdk and set up your DynamoDB connection: ```js import { DynamoDBClient } from "@aws-sdk/client-dynamodb"; const ddb = new DynamoDBClient({ - endpoint: "http://localhost:8000", // For local development + endpoint: "http://localhost:8000", // For local development only + region: "us-east-1", }); ``` +To test locally, you can run `docker run -p 8000:8000 deangiberson/aws-dynamodb-local` to spin up a local docker instance exposed on port 8000. + Next you must create an instance of `GeoDataManagerConfiguration` for each geospatial table you wish to interact with. This is a container for various options (see API below), but you must always provide a `DynamoDB` instance and a table name. ```js