This repository contains a simple application that connects to the AWS S3 service. The application demonstrates how to upload and download objects from an S3 Bucket. For testing purposes, a basic frontend is provided, lacking extensive functionalities but verifying the proper functioning of the S3 connection.
A faux database has been implemented to store, retrieve, and delete objects. Additionally, it maintains links to images stored in the S3 bucket.
The application is built using the following frameworks and technologies:
- Spring: Boot, Web
- AWS S3
- Maven
-
Create a
credentials
file in the.aws
folder under your computer user directory. Ensure that this file includes the Access Key for your AWS account. The file should look like this:
[default]
aws_access_key_id=your-access-key
aws_secret_access_key=your-secret-key
-
Specify your bucket name in
application.yml
underaws.s3.bucket-name.localTesting
-
Select your region in
application.yml
underaws.region
-
(Optional) Specify the maximum image size in
application.yml
underspring.servlet.multipart.max-file-size
-
Run the application by typing
mvn spring-boot:run
or by executing theMain.java
class.