- Maven - Dependency Management
- JDK - Java™ Platform, Standard Edition Development Kit
- Spring Boot - Framework to ease the bootstrapping and development of new Spring Applications
- git - Free and Open-Source distributed version control system
- Postman - API Development Environment (Testing Documentation) Download the app and get started.
| URL | Method | Remarks |
|---|---|---|
http://localhost:8080/processStatement |
GET |
In the header tab of postman give the key as 'file' and select the file type as File and then in the value section browse the csv file or the xml file and hit the send button.
There are several ways to run a Spring Boot application on your local machine. One way is to execute the main method in the com.cts.StatementProcessorDemo.StatementProcessorDemoApplication class from your IDE.
- Download the zip or clone the Git repository.
- Unzip the zip file.
- Open Command Prompt and Change directory (cd) to folder containing pom.xml
- Open Eclipse
- File -> Import -> Existing Maven Project -> Navigate to the folder where you unzipped the zip
- Select the project
- Choose the Spring Boot Application file (search for @SpringBootApplication)
- Right Click on the file and Run as Java Application
Alternatively you can use the Spring Boot Maven plugin like so:
mvn spring-boot:run-
models— to hold our entities; -
services— to hold our business logic; -
controllers— to listen to the client; -
pom.xml- contains all the project dependencies