An open API service indexing awesome lists of open source software.

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

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
```


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 📬