Skip to content

Rapter1990/batchprocessingcsvtodatabase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot Batch Processing CSV to DB

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 csv file and write all them into database

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/batchprocessingcsvtodatabase

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 importCsvToDBJob Import csv file to db Info

No Request or Params

    http://localhost:8081/batch/importuserjob

Screenshots

Click here to show the screenshots of project

Figure 1

Figure 2

Figure 3

Figure 4

Figure 5

Releases

No releases published

Packages

No packages published

Languages