https://github.com/sandeepbegudem/springboot-restapi-mapstruct
This application developed using Spring Boot, Java17, MySQL, Spring Data JPA, Maven, Lombok. This demo backend application provides the overall implementation of the async implementation using Java8 Completable Future for importing and retrieving bulk data with the Executor Service ThreadPool.
https://github.com/sandeepbegudem/springboot-restapi-mapstruct
asynchronous executor-service java8-completablefuture lombok mapstruct maven-plugin mysql-database spring-boot springdata-jpa threadpoolexecutor
Last synced: 21 days ago
JSON representation
This application developed using Spring Boot, Java17, MySQL, Spring Data JPA, Maven, Lombok. This demo backend application provides the overall implementation of the async implementation using Java8 Completable Future for importing and retrieving bulk data with the Executor Service ThreadPool.
- Host: GitHub
- URL: https://github.com/sandeepbegudem/springboot-restapi-mapstruct
- Owner: sandeepbegudem
- Created: 2023-09-05T17:43:12.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-13T04:27:24.000Z (over 1 year ago)
- Last Synced: 2025-02-15T00:28:35.147Z (2 months ago)
- Topics: asynchronous, executor-service, java8-completablefuture, lombok, mapstruct, maven-plugin, mysql-database, spring-boot, springdata-jpa, threadpoolexecutor
- Language: Java
- Homepage:
- Size: 645 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# national-parks-spring-boot-mapstruct-completable-future
# Entities:
#### - Traveller
#### - NationalPark# Endpoints:
### 1. Traveller:
#### Post:
#### - localhost:5473/api/v1/travellers/travel#### Get:
#### - localhost:5473/api/v1/travellers/all-travellers### POST Call using Postman:
### Console Messages:
### Record Count in MySql DB:
### Traveller: GET Call using Postman
### Console Messages:
### NationalPark:
### Post:
#### - localhost:5473/api/v1/national-parks/insert-park### Get:
#### - localhost:5473/api/v1/travellers/all-travellers### Get (specific id):
#### - localhost:5473/api/v1/national-parks/get-park/{id}### Update:
#### - localhost:5473/api/v1/national-parks/update-park### Delete:
#### - localhost:5473/api/v1/national-parks/delete-park/{id}### POST Call using Postman:
### GET Call using Postman:
### GET Call for specific id using Postman:
### PUT Call using Postman:
### DELETE Call using Postman:
# Libraries:
#### 1. spring boot starter data jpa
#### 2. spring boot starter web
#### 3. spring boot devtools
#### 4. mapstruct
#### 5. mysql
#### 6. lombok# Auto-Generate the classes into target folder using map struct and maven
### Steps:
#### 1. select compile from the Maven life cycle
#### 2. go to the target folder > generated-sources