Skip to content

The server part of the blogging system implemented with Spring Boot + Hibernate + MySQL

License

Notifications You must be signed in to change notification settings

ysamsonov/blog-server

Repository files navigation

Blog-server

Travis build

The server part of the blogging system implemented with Spring Boot/JPA + Hibernate + MySQL.
Client part you can see here.

Install

  1. Clone the project

  2. Build project

    gradlew build

  3. Create MySQL database with default params

    dbName = spring_blog_db
    Username = user
    Password = 1234

  4. 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

Api Documentation

You can check the documentation in wiki

Contribute

Contributions are always welcome!

License

You can check out the full license here

This project is licensed under the terms of the MIT license.

About

The server part of the blogging system implemented with Spring Boot + Hibernate + MySQL

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages