https://github.com/awslabs/amazon-dynamodb-local-samples

This is a sample Java project that demonstrates how to use DynamoDB Local for local development and testing

https://github.com/awslabs/amazon-dynamodb-local-samples

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.1%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

This is a sample Java project that demonstrates how to use DynamoDB Local for local development and testing

Basic Info
Statistics
  • Stars: 25
  • Watchers: 4
  • Forks: 15
  • Open Issues: 15
  • Releases: 0
Created almost 3 years ago · Last pushed 10 months ago
Metadata Files
Readme Contributing License Code of conduct

README.md

DynamoDB Local Sample Java Project

This is a sample Java project that demonstrates how to use DynamoDB Local for local development and testing. DynamoDB Local is a downloadable version of DynamoDB that enables you to develop and test applications without connecting to the actual DynamoDB service provided by AWS. This project showcases multiple approaches to set up and use DynamoDB Local, including downloading JAR files, running it as a Docker image, and using it as a Maven dependency.

Prerequisites

  • Java Development Kit (JDK) 17 or later installed on your system
  • Apache Maven installed on your system
  • Docker installed (if running DynamoDB Local as a Docker image)

Setup

  1. Clone this repository to your local machine.
  2. Ensure that you have the prerequisites mentioned above installed.
  3. Open a terminal or command prompt and navigate to the project's root directory.

Downloading DynamoDB Local JAR Files

If you prefer to download and run DynamoDB Local as JAR files, follow these steps: 1. Download the DynamoDB Local JAR files from the AWS website: - DynamoDB Local - DynamoDB Local Dependencies 2. Place the downloaded JAR files in a directory of your choice. 3. Open a terminal or command prompt and navigate to the directory where you placed the JAR files. 4. Run the following command to start DynamoDB Local: java -Djava.library.path=./DynamoDBLocal_lib -jar DynamoDBLocal.jar -sharedDb The -sharedDb flag indicates that DynamoDB Local will use a single database file for all data and will persist between restarts.

Running DynamoDB Local as a Docker Image

If you prefer to use DynamoDB Local as a Docker image, follow these steps: 1. Make sure Docker is running on your system. 2. Open a terminal or command prompt. 3. Run the following command to pull the DynamoDB Local Docker image: docker pull amazon/dynamodb-local 4. Once the image is downloaded, run the following command to start DynamoDB Local as a Docker container: docker run -p 8000:8000 amazon/dynamodb-local

Using DynamoDB Local as a Maven Dependency

If you prefer to use DynamoDB Local as a Maven dependency, follow these steps: 1. Open the pom.xml file in your project. 2. Add the following dependency to the <dependencies> section: xml <dependency> <groupId>software.amazon.dynamodb</groupId> <artifactId>DynamoDBLocal</artifactId> <version><LATEST_VERSION></version> </dependency> You can find the latest version of DynamoDB Local here: https://mvnrepository.com/artifact/software.amazon.dynamodb/DynamoDBLocal

  1. Build your project using Maven: mvn clean package

Optional: Create a runnable jar: https://www.baeldung.com/executable-jar-with-maven

Resources

Security

See CONTRIBUTING for more information.

Contact us

To report a bug or request a feature or to contact the DynamoDB Local team, reach out to us at aws-ddblocal-feedback@amazon.com.

License

This library is licensed under the MIT-0 License. See the LICENSE file.

Owner

  • Name: Amazon Web Services - Labs
  • Login: awslabs
  • Kind: organization
  • Location: Seattle, WA

AWS Labs

GitHub Events

Total
  • Issues event: 7
  • Watch event: 6
  • Issue comment event: 17
  • Push event: 3
  • Pull request event: 4
  • Pull request review event: 1
  • Fork event: 6
Last Year
  • Issues event: 7
  • Watch event: 6
  • Issue comment event: 17
  • Push event: 3
  • Pull request event: 4
  • Pull request review event: 1
  • Fork event: 6

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 21
  • Total pull requests: 7
  • Average time to close issues: 3 months
  • Average time to close pull requests: 4 months
  • Total issue authors: 19
  • Total pull request authors: 4
  • Average comments per issue: 2.05
  • Average comments per pull request: 0.0
  • Merged pull requests: 3
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 7
  • Pull requests: 3
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 6
  • Pull request authors: 2
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • h-r-k-matsumoto (2)
  • artur1211 (2)
  • caputog (1)
  • freyliis (1)
  • raftheunis87 (1)
  • MarkusAJacobsen (1)
  • rnewman (1)
  • brianmaresca (1)
  • said1nce (1)
  • JMVM (1)
  • switch180 (1)
  • MateuszWicherski (1)
  • furstenheim-goodnotes (1)
  • mrdingma (1)
  • Maxwell2022 (1)
Pull Request Authors
  • thomasturrell (2)
  • shetsa-amzn (2)
  • h-r-k-matsumoto (2)
  • michaelsgroi (1)
Top Labels
Issue Labels
Pull Request Labels