Skip to content

rstechgeek/java-blog-aggregator-boot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages

  • Java 70.8%
  • HTML 20.1%
  • JavaScript 8.5%
  • CSS 0.6%