Skip to content

thiagoferrax/myBatchProcessing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

myBatchProcessing

About

myBatchProcessing is a batch processing application that reads payment data from a CSV file and populates a database with that data.

Features

  • Reads payment data from a CSV file
  • Populates a database with the payment data

Architecture overview

Project structure

├── docker-compose.yml
├── Dockerfile
├── HELP.md
├── LICENSE
├── mvnw
├── mvnw.cmd
├── pom.xml
├── README.md
└── src
    ├── main
    │   ├── java
    │   │   └── com
    │   │       └── thiagoferraz
    │   │           └── myBatchProcessing
    │   │               ├── configurations
    │   │               │   ├── BatchConfiguration.java
    │   │               │   └── PaymentProcessor.java
    │   │               ├── controllers
    │   │               │   └── PaymentController.java
    │   │               ├── entities
    │   │               │   └── Payment.java
    │   │               ├── MyBatchProcessingApplication.java
    │   │               ├── repositories
    │   │               │   └── PaymentRepository.java
    │   │               └── utils
    │   │                   └── CSVGenerator.java
    │   └── resources
    │       ├── application.properties
    │       └── payments.csv
    └── test
        └── java
            └── com
                └── thiagoferraz
                    └── myBatchProcessing

Tech stack

  • Spring Batch for processing large volumes of records.
  • Spring Boot for creating the RESTful Web Services
  • MockMVC for testing the Web Layer
  • Mockito for testing the Services Layer
  • MySQL as database
  • Maven for managing the project's build
  • Docker for building and managing the application distribution using containers

Install

Download the repository

$ git clone https://github.com/thiagoferrax/myBatchProcessing.git

With docker and docker-compose installed

$ cd myBatchProcessing && docker-compose up

Swagger UI Documentation

To access the Swagger UI documentation for this project, please follow the steps below:

  1. Make sure that the project is running locally on your machine.
  2. Open your web browser and navigate to http://localhost:8080/swagger-ui/index.html.
  3. This interactive interface provides a comprehensive overview of the API endpoints, request/response schemas, and allows you to interact with the API directly.
  4. It's a helpful tool for testing and exploring the functionality of the project.

License

MIT © thiagoferrax.

About

Simple batch processing application.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors