This is a Spring Boot application that retrieves data from the Star Wars API (SWAPI) and stores it in an H2 database. It uses Vaadin for the frontend and implements a monolithic architecture.
- Java 21
- Maven 3.6.3 or higher
git clone https://github.com/svbuh/architecture_1_monolith.git
cd architecture_1_monolith
To build the project, run the following command:
mvn clean
mvn install
To run the application, use the following command:
mvn spring-boot:run
The application will start and will be accessible at http://localhost:8080.
You can access the H2 database console at http://localhost:8080/h2-console.
JDBC URL: jdbc:h2:mem:testdb
Username: sa
Password: password
To run the tests, use the following command:
mvn test