Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/rapter1990/springbatchprocessdbtocsv

Spring Boot Batch Processing Database to CSV
https://github.com/rapter1990/springbatchprocessdbtocsv

csv h2-database java spring-batch spring-batch-jobs spring-boot

Last synced: about 7 hours ago
JSON representation

Spring Boot Batch Processing Database to CSV

Awesome Lists containing this project

README

        

# Spring Boot Batch Processing DB to CSV

Main Information

### 📖 Information



  • Spring Batch is a comprehensive batch framework which allows to batch processing for enterprise systems

  • These batch processing includes tasks like reading and writing to files,
    transforming data, reading and writing to databases and so on.

  • Here is the explanation of the project

    • Implement the process of batch covering reading all values from database and write all them into csv file



### Used Dependencies
* Core
* Spring
* Spring Boot
* Spring Batch
* Spring Web
* Spring Data
* Spring Data JPA
* Database
* h2
* Lombok

### 🔨 Run the App

1 ) Download your project from this link shown below
```
git clone https://github.com/Rapter1990/SpringBatchProcessDbToCsv
```

2 ) Go to the project's home directory shown below
```
cd batchprocessingcsvtodatabase
```

3 ) Create a jar file though this command shown below
```
mvn clean install
```

4 ) Run the project though this command shown below
```
mvn spring-boot:run
```

Explore Rest APIs


Method
Url
Description
Valid Request Body
Valid Request Params
Valid Request Params and Body
No Request or Params


GET
importDbToCsvJob
Import db to csv



Info

## No Request or Params

##### Import db to csv
```
http://localhost:2121/batch/importuserjob
```

### Screenshots

Click here to show the screenshots of project

Figure 1



Figure 2