- Java 11
- Maven
- PostgreSQL
mvn clean install
java <env variables: -DvariableName='value'> -jar <jar location>
mvn compile
mvn <env variables: -DvariableName='value'> spring-boot:run
- DB_URL (default: 'jdbc:postgresql://localhost:5432/pnu_feedback') - db url
- DB_USERNAME (default: 'postgres') - db username
- DB_PASSWORD (default: 'root') - db password
- ADMIN_USERNAME (default: 'admin') - admin panel username
- ADMIN_PASSWORD (default: 'admin') - admin panel password
- JWT_SECRET (default: 'secret') - jwt secret, that is used to sign tokens for feedback submissions
- APP_BASE_URL (default: 'http://localhost:8080') - application base url
- ADMIN_PANEL_URL (default: 'admin') - path to admin panel
- WEB_ASSETS_LOCATION (default: '') - an absolute path to local libs. If the value is present, js libs will be downloaded from the specified location.
- ADMIN_EMAIL (default: '') - an email address for the contact to admin.