https://github.com/andersonhsporto/upload-image-api
API REST ( spring ) para upload de imagens
https://github.com/andersonhsporto/upload-image-api
h2 java java-19 lombok maven serialization spring spring-boot spring-jpa
Last synced: 11 months ago
JSON representation
API REST ( spring ) para upload de imagens
- Host: GitHub
- URL: https://github.com/andersonhsporto/upload-image-api
- Owner: andersonhsporto
- Created: 2023-01-25T05:35:30.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-01-25T06:03:35.000Z (about 3 years ago)
- Last Synced: 2025-01-17T05:28:56.065Z (about 1 year ago)
- Topics: h2, java, java-19, lombok, maven, serialization, spring, spring-boot, spring-jpa
- Language: Java
- Homepage:
- Size: 176 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Image Upload Api
This is a simple api to upload images to database and get the image from database.
# Tools
* [JAVA 19](https://www.java.com/pt-BR/) - Java 19
* [Spring](https://spring.io/projects/spring-boot) - MVC Framework
* [Apache Maven 3.8.6](https://maven.apache.org/) - Dependency Management
* [IntelliJ](https://www.jetbrains.com/idea/) - IDE for Java
# How to run
* Clone the project
You can execute the project using the command line or using the IDE.
* Using the command line
```
mvn spring-boot:run
```
* Using the IDE
```
Run the class UploadImageApiApplication.java
```
# How to use
This project has a simple [interface](https://github.com/andersonhsporto/client-image-upload) build
in angular to test the api.
to access the interface you can use the link below:
```
{host}/api/v1/client
```

In this interface you can upload images and get the images from database.
# Dependencies
* [Spring Web](https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-web) -
Framework for web applications
* [Spring Data JPA](https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-data-jpa) -
Framework for data persistence
* [H2 database](https://mvnrepository.com/artifact/com.h2database/h2) - Database that runs in memory
* [Lombok](https://mvnrepository.com/artifact/org.projectlombok/lombok) - Library to reduce boilerplate code
* [Angular](https://angular.io/) - Framework for web applications
My contact info 📬