https://github.com/kh77/spring-completablefuture
How to use CompletableFuture in spring boot application
https://github.com/kh77/spring-completablefuture
async completablefuture java spring-boot
Last synced: 25 days ago
JSON representation
How to use CompletableFuture in spring boot application
- Host: GitHub
- URL: https://github.com/kh77/spring-completablefuture
- Owner: kh77
- Created: 2022-06-05T17:24:36.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-05T17:24:41.000Z (about 4 years ago)
- Last Synced: 2025-08-31T20:46:44.717Z (9 months ago)
- Topics: async, completablefuture, java, spring-boot
- Language: Java
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### SpringBoot-CompletableFuture
- Create employee through file uploading, file is present in the resource folder
- Get employee list
- Get employee list by name or age
- Upload multiple file at a time
#### Dump employee data through csv file
curl --location --request POST 'localhost:8080/api/employee' \
--form 'files=@"/C:/Users/abc/Desktop/employee-1.csv"' \
--form 'files=@"/C:/Users/abc/Desktop/employee-2.csv"'
#### Get all employees
curl --location --request GET 'localhost:8080/api/employee'
#### Get all employees by Name Or Age
curl --location --request GET 'localhost:8080/api/employee/ali/16'