https://github.com/tienisto/ikus-server
The server for the Welcome to OVGU - App written in Vue and Spring
https://github.com/tienisto/ikus-server
kotlin ovgu spring vue
Last synced: 4 months ago
JSON representation
The server for the Welcome to OVGU - App written in Vue and Spring
- Host: GitHub
- URL: https://github.com/tienisto/ikus-server
- Owner: Tienisto
- Created: 2020-08-17T21:02:39.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-12-23T14:20:22.000Z (over 1 year ago)
- Last Synced: 2025-04-10T06:55:09.192Z (about 1 year ago)
- Topics: kotlin, ovgu, spring, vue
- Language: Vue
- Homepage:
- Size: 1.99 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Welcome to OVGU
The server for the Welcome to OVGU app written in Vue and Spring
## Getting Started
Let's run this server on your (local) machine.
1. Install Java 17 and Node (22 or greater)
2. Build the vue frontend
1. `cd /src/main/vue`
2. `npm install -g pnpm`
3. `pnpm i`
4. `pnpm generate`
3. Build the spring server, it will use the compiled files by vue
1. `cd `
2. `./gradle build -x test` or `gradlew.bat build -x test`
4. Run the .jar
1. `cd /build/libs`
2. `java -jar ikus-0.9.0.jar --db.url="the url to the db"`
## Environment Variables
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` |