Demo application to generate invoice from loaded CSV file.
Application was built on Spring Boot 2, requirements include:
- JDK 1.8
- Maven
- Docker (optional)
Build with packaged Maven
./mvnw clean package
or with system-wide Maven
mvn clean package
You can run with Maven using Spring Boot:
mvn spring-boot:run
To run built file with Java:
java -jar target/csvservice.jar
By default, application runs on port 8080, you can override this by setting SERVER_PORT
environment variable.
Visit http://localhost:8080
If you do not have Java pre-installed, you can build and run application using Docker.
docker build . -t 'csvservice-app'
#run with
docker run -p 8080:8080 csvservice-app
This will automatically start the application on http://localhost:8080