The repository contains a fullstack Java/JS web application that is intended to be used by a dental clinic.
The application requires deployment to an application server, Payara Server 5.2021.1 was used in developement. In order to deploy the application run mvn:install to generate the war file. The war file is then ready for deployment.
In order to run the application you will need to configure the application.properties file in the resources folder with the file structure shown in the example below:
account.confirmation.jwt.secret=TODO
unlock.by.mail.confirmation.jwt.secret=TODO
(...)
mail.smtp.ssl.trust=TODO
You will also need to edit the JDBCConfig.java file found in the config package by supplying it with the correct url's and passwords for the data sources. An example datasource is shown below:
@DataSourceDefinition(
name = "java:app/jdbc/ssbd01mok",
className = "org.postgresql.ds.PGSimpleDataSource",
user = "ssbd01mok",
password = "TODO",
serverName = "TODO",
portNumber = 5432,
databaseName = "ssbd01",
transactional = true,
initialPoolSize = 1,
minPoolSize = 0,
maxPoolSize = 32,
isolationLevel = Connection.TRANSACTION_READ_COMMITTED)
Use the sql scripts found in resources/META-INF/sql to populate your database with sample data.