Blog
Simple web-application on Spring
How to run it
- Clone this repo
- Setting DB
- Create
application-local.propertiesinsrc/main/resources/ - Define these variables
spring.datasource.url(jdbc:postgresql://localhost:5432/blog_springe.g.)spring.datasource.username(postgrese.g.)spring.datasource.password(1234e.g.)spring.datasource.driver-class-name(org.postgresql.Drivere.g.)spring.sql.init.platform(postgresqle.g.)spring.jpa.hibernate.ddl-auto(updatee.g.)
- Create
.envfile and define these variablesDB_USER(must be the same withspring.datasource.username,postgrese.g.)DB_PASSWORD(must be the same withspring.datasource.password,1234e.g.)DB_NAME(must be corresponding tospring.datasource.url,blog_springe.g.)
- Run DB
docker-compose up
- Create
- Run the app
mvn spring-boot:run(or via your IDE)
On this page
Languages
Java70.5%HTML21.1%JavaScript7.8%CSS0.5%
Contributors
MIT License
Created March 17, 2025
Updated September 13, 2025