Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 30 days 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 (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-05-20T23:57:00.000Z (over 2 years ago)
- Last Synced: 2024-10-08T08:01:54.829Z (about 1 month ago)
- Topics: kotlin, ovgu, spring, vue
- Language: Vue
- Homepage:
- Size: 1.75 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 11 and Node (12 or greater)
2. Build the vue frontend
1. `cd /src/main/vue`
2. `npm i`
3. `npm run build`
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 VariablesRename 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`