CoffeeChat/README.md
2026-04-06 13:48:43 +02:00

758 B

java -jar myapp.jar --spring.config.location=file:/path/to/custom.properties java -jar coffeechat-0.0.1-SNAPSHOT.jar --spring.config.import=file:/var/www/CC/application.properties

Sample properies

spring.application.name=Coffee Chat server.port=8081 logging.level.root=DEBUG

Database properties

spring.datasource.url=jdbc:mysql://localhost:3306/coffeeChat spring.datasource.username=coffeeChat spring.datasource.password=coffeeChat

JPA/Hibernate settings (optional but useful)

'update' automatically updates the database schema based on your entities

spring.jpa.hibernate.ddl-auto=update spring.jpa.show-sql=true

jwt.secret=your_secret_key_heretjldjfgljfdsigjj9psejgjsidgjscgtj jwt.expiration=3600000

Client

export "PORT=4050"; node server.js