Skip to content

Commit

Permalink
Release v0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
russellsteadman committed Apr 10, 2023
1 parent ebb0803 commit c4fd96d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c4fd96d

Please sign in to comment.