Skip to content

jirkapinkas/java-blog-aggregator-boot

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Java Blog Aggregator: Boot

This application is a successor of original Java Blog Aggregator. It uses Spring boot and runs as a standalone JAR file, JSP and Tiles were switched to Thymeleaf and I organized JavaScript much better.

Development:

Run with: -Dspring.profiles.active="dev"

Will run on http://localhost:8080 with embedded HSQL database, username / password: admin / admin

Production:

Packaging: mvn clean package -P prod

Run: java -jar target/java-blog-aggregator.jar --spring.config.location=file:prod.properties --logging.config=file:logback-prod.xml

sample prod.properties contents:

spring.profiles.active=prod
server.port=8081
spring.datasource.url=jdbc:postgresql://localhost:5432/DB_NAME
spring.datasource.username=USERNAME
spring.datasource.password=PASSWORD
spring.datasource.driverClassName=org.postgresql.Driver

Made better & faster using https://www.yourkit.com/ Java Profiler