This project contains code examples for working with Excel files (Apache POI library) and how to store the content into a DB table using Spring Data JPA.
- Open terminal and navigate to your project
- Type command mvn install
- Type command mvn spring-boot:run
mvn clean package
mvn test
-
Send an Excel Document, parse it and persist the content on a DB table: curl -F file=@" YOUR_PROJECT_FOLDER/src/main/resources/documents/sample.xlsx" http://localhost:8080/api/upload_customers_orders
-
Obtain the data stored into the DB table: curl http://localhost:8080/api/upload_customers_orders http://localhost:8080/api/customers/orders
Andrea Nobili
Software Engineer
E-mail: nobili.andrea@gmail.com
Skype: nobili.andrea@gmail.com
LinkedIn: https://www.linkedin.com/in/anobili/