The server part of the blogging system implemented with Spring Boot/JPA + Hibernate + MySQL.
Client part you can see here.
-
Clone the project
-
Build project
gradlew build
-
Create MySQL database with default params
dbName
=spring_blog_db
Username
=user
Password
=1234
-
Run jar file
java ${RUN_PARAMETERS} -jar blog-api-CURRENT_VERSION.jar
RUN_PARAMETERS:
-Dspring.datasource.url=jdbc:mysql://localhost:3306/spring_blog_db -Dspring.datasource.username=user -Dspring.datasource.password=1234 -Dspring.datasource.driverClassName=com.mysql.cj.jdbc.Driver -Dspring.jpa.hibernate.ddl-auto=update -Dspring.jpa.generate-ddl=true -Dspring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQLDialect -Dlogging.level.root=INFO -Dlogging.level.org.hibernate.engine.internal.StatisticalLoggingSessionEventListener=ERROR
You can check the documentation in wiki
Contributions are always welcome!
You can check out the full license here
This project is licensed under the terms of the MIT license.