https://github.com/hendisantika/spring-boot-digital-ocean-space
Spring Boot Digital Ocean Space
https://github.com/hendisantika/spring-boot-digital-ocean-space
digitalocean digitalocean-spaces spring spring-boot upload
Last synced: 3 months ago
JSON representation
Spring Boot Digital Ocean Space
- Host: GitHub
- URL: https://github.com/hendisantika/spring-boot-digital-ocean-space
- Owner: hendisantika
- Created: 2024-11-07T00:58:52.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-02-12T23:41:55.000Z (3 months ago)
- Last Synced: 2025-02-13T00:28:50.873Z (3 months ago)
- Topics: digitalocean, digitalocean-spaces, spring, spring-boot, upload
- Language: Java
- Homepage:
- Size: 296 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# spring-boot-digital-ocean-space
### Things todo list
1. Clone this repository: `git clone https://github.com/hendisantika/spring-boot-digital-ocean-space.git`
2. Navigate to the folder: `cd spring-boot-digital-ocean-space`
3. Change DO Space Credentials in `application.yml`
4. Run the application: `mvn clean spring-boot:run`
5. Open POSTMAN App then import POSTMAN collection file
6. Hit the API### Image Screen shot
Upload new Image
```shell
curl --location 'http://localhost:8080/upload/new' \
--form 'file=@"oukTU-vac/loker.png"'
```
List All images
```shell
curl --location 'http://localhost:8080/upload/list'
```
Delete Image by filename
```shell
curl --location --request DELETE 'http://localhost:8080/upload/delete/loker.png'
```
