- Java 11
- Spring Boot
- ThymeLeaf
- H2 in-memory database
- Maven
The project is deployed on AWS EC2 instance and is available on http://lerkasan.de
System Prerequisites - Required software to be installed:
- Java SE 11 JDK (Note: Please make sure to set the JAVA_HOME and the PATH environment variables)
- Git
Useful links:
- Setting the PATH Environment Variable in Windows
- Setting the JAVA_HOME Variable in Windows (Note: Also in Windows environment variables may be set as follows: Right click on Computer -> Advanced system settings -> Select Advanced tab -> Click on Environment variables)
-
Download the project source code from GitHub repository:
git clone https://github.com/lerkasan/members.git
-
Go to the folder with downloaded source code:
cd members
-
Compile the source code and run tests using Maven Wrapper by typing a following command into command prompt (cmd for Windows or sh/bash for Linux):
mvnw.cmd clean install
(for Windows) or./mvnw clean install
(for Linux) -
Run the application using Maven Wrapper by typing a following command into command prompt (cmd for Windows or sh/bash for Linux):
mvnw.cmd spring-boot:run
(for Windows) or./mvnw spring-boot:run
(for Linux) -
Open http://localhost:8080 in a web browser. If needed, you can connect to an in-memory H2 database by opening http://localhost:8080/h2-console
In-memory database credentials:
Username: sa
Password: password
Database name: db
JDBC URL: jdbc:h2:mem:db
Driver Class: org.h2.Driver
-
To stop the application press Ctrl+C in a command prompt.