The server for the Welcome to OVGU app written in Vue and Spring
Let's run this server on your (local) machine.
- Install Java 17 and Node (22 or greater)
- Build the vue frontend
cd <project root>/src/main/vue
npm install -g pnpm
pnpm i
pnpm generate
- Build the spring server, it will use the compiled files by vue
cd <project root>
./gradle build -x test
orgradlew.bat build -x test
- Run the .jar
cd <project root>/build/libs
java -jar ikus-0.9.0.jar --db.url="the url to the db"
Rename if you set it via (docker) environment variables. E.g. storage.path
will be STORAGE_PATH
.
Otherwise, leave the keys as is: java -jar server.jar --storage.path="/my/path"
Key | Description | Default |
---|---|---|
storage.path |
Path to the persistent storage | (invalid path) |
db.url |
URL to PostgreSQL | postgresql://localhost:5432/ikus |
db.user |
User Name for PostgreSQL | ikususer |
db.password |
Password for PostgreSQL | 123456 |
admin.password |
Password of the admin account | 123 |
jwt.website |
JWT private key for server-website communication | the jwt private key which is longer than 255 bits |
jwt.app |
JWT private key for server-app communication | the jwt private key which is longer than 255 bits |
routes.dev |
Allow dev routes | false |