PokeDyno is a Spring Boot application that demonstrates the integration of DynamoDB interfaces with the Pokémon API, utilizing a local DynamoDB instance to retrieve and store Pokémon data. This application enables users to perform CRUD operations on Pokémon data, directly fetching details from the Pokémon API when not already available in the local DynamoDB, effectively using it as a caching server. With minor modifications, this project can be deployed on AWS cloud services, transitioning from the local Maven-managed DynamoDB instance to a fully managed AWS environment.
- Fetch Pokémon: Get details of any Pokémon by ID.
- List Pokémon: View all Pokémon currently stored in the DynamoDB.
- Delete Pokémon: Remove a Pokémon entry from the database by its ID.
-
- Official installation guide here
- You must configure the aws cli before proceeding and set the region to us-west-1 this can be configured in
DynamoDBConfig.java
aws configure
-
git clone git@github.com:tshasan/PokeDyno.git cd PokeDyno -
./mvnw clean install
-
./mvnw spring-boot:run
- Navigate to http://localhost:8080 to access the application
- Springboot
- DynamoDB local
- PokeAPI
Configuration settings are specified in application.properties, allowing for customization of application parameters. DynamoDB local setup is managed in DynamoDBConfig.java, which can be adjusted to match different deployment environments.