Engineering Thesis
For production environment, you need to have an oracle database.
If you didn't create oracle database yet, run script database/install.sql
.
(run the application to instatiate mock users via SecurityConfig)
For mock data, run script database/scripts/510_insert_mock_data.sql
on your database - as it is not included in install.sql
script.
swagger
- to run application with Swagger
dev
- to run application with H2 database (for offline development)
To run swagger use swagger
profile.
Link to swagger documentation: http://localhost:8080/swagger-ui/index.html
To develop application offline please use dev
profile - it uses h2 database instead of oracle database that is used on production.
No other configurations are needed.
DB_URL
- database url
DB_USERNAME
- database username
DB_PASSWORD
- database password
JWT_SECRET
- secret key for JWT token
JWT_EXPIRATION_MS
- expiration time for JWT token in milliseconds
With production environment, you need to set all of these variables.